0.1.0 • Published 9 years ago

starred-count v0.1.0

Weekly downloads
2
License
MIT
Repository
github
Last release
9 years ago

starred-count

NPM version NPM downloads Build Status

Get total starred count for a GitHub user.

Install

$ npm install --save starred-count

Usage

To get this count ⬇️⬇️

img

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

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT © EGOIST