npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

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

install

npm i api-github

Downloadsweekly downloads

31

version

1.1.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability