Packages

@octokit/rest

22.0.1 · 31 Oct 2025MIT27.9M / weekRepositoryHomepagenpmAtom feed

Your version

14.0.0

major17 Jan 2018Where it was published

14.0.9 is the newest release of 14.x.

In short

3 breaking

  • Breaking

    npm install @octokit/rest

  • Breaking

    npm uninstall github

  • Breaking

    Replace require('github') with require('@octokit/rest')

Release note

Breaking changes

The package has been renamed from github to @octokit/rest.

To upgrade

  1. Breaking

    npm install @octokit/rest

  2. Breaking

    npm uninstall github

  3. Breaking

    Replace require('github') with require('@octokit/rest')

That’s it, there are no functional changes in the public APIs compared to github@13.

Debug logs

DEBUG=node-github* is now DEBUG=octokit*.

In case you enabled debug logs, make sure to adapt the DEBUG environment variable accordingly.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.