api-github

1.1.0 • Public • Published

ApiGithub Build Status

Sane, and simple wrapper for the github API.

Usage

var ApiGithub = require('api-github'),
    api       = new ApiGithub({});
 
api.users.find('RWOverdijk').then(console.log).catch(console.error);
api.orgs.find('SpoonX').then(console.log).catch(console.error);
api.repos.find('spoonx/aurelia-orm').then(console.log).catch(console.error);
 

New

  • Added authorizations support
  • Return response on failure
  • Added support for subscriptions
  • Added support for custom auth headers

Readme

Keywords

Package Sidebar

Install

npm i api-github

Weekly Downloads

4

Version

1.1.0

License

MIT

Last publish

Collaborators

  • rwoverdijk