starred-count

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i starred-count

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • kchan