get-repo-stargazers-count
v1.0.0
Published
Extract stargazers count for specified repository
Downloads
5
Maintainers
Readme
get-repo-stargazers-count
Extract stargazers count for specified repository written in javascript.
Install
$ npm install --save-dev get-repo-stargazers-count
Usage
const repoStarsCount = require('get-repo-stargazers-count');
repoStarsCount.forGithub('gulp')
.then(result => {
// do something with result
})
.catch(err => {
// handle error
})
License
MIT