starred-count
v0.1.0
Published
Get total starred count for a GitHub user.
Downloads
4
Readme
starred-count
Get total starred count for a GitHub user.
Install
$ npm install --save starred-count
Usage
To get this count ⬇️⬇️
const getCount = require('starred-count')
getCount('egoist')
.then(count => {
console.log(count)
//=> 2026
})
API
starredCount(username, [access_token])
access_token is optional, no scopes are required for this case.
Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D