@octokit/rest
22.0.1 · 31 Oct 2025MIT27.9M / weekRepositoryHomepagenpmAtom feed
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')withrequire('@octokit/rest')
Release note
Breaking changes
The package has been renamed from github to @octokit/rest.
To upgrade
- Breaking
npm install @octokit/rest - Breaking
npm uninstall github - Breaking
Replace
require('github')withrequire('@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.