You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

node-github-api

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-github-api

retrieve github stars

latest
Source
npmnpm
Version
0.0.2
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 13 May 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts