node-github-api

0.0.2 • Public • Published

github-api NPM version Build Status Dependency Status Coverage Status

retrieve github stars.

Install

$ npm install --save github-api

Usage

Get all stars

var github-api = require('node-github-api');
github.getStars('kwakayama')
.then(function(stars) {
  console.dir(stars.length);
})

Get all stars from last id onwards

var github-api = require('node-github-api');
github.getStars('kwakayama', 18611173)
.then(function(stars) {
  console.dir(stars.length);
})

API

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using gulp.

Release History

(Nothing yet)

License

Copyright (c) 2014 Kentaro Wakayama. Licensed under the MIT license.

/node-github-api/

    Package Sidebar

    Install

    npm i node-github-api

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • kwakayama