Github.js is a javascript library that makes it easy to interact with GitHub’s REST API in Node and in the browser. It can be used with node-style callbacks or modern promises.
Data can be retrieved from the API either using callbacks (as in versions < 1.0) or using a new promise-based API. For now the promise-based API just returns the raw HTTP request promise; this might change in the next version.
Below you can find the link to read the documentation for each of the versions released so far, starting from version 1.0.0.