0.2.3 • Published 6 years ago

is-stargazer v0.2.3

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

is-stargazer Build Status js-standard-style

Check if user has starred the repository

Installation

npm install --save is-stargazer

Usage

const isStargazer = require('is-stargazer')

isStargazer({
    repos: 'amimaro/is-stargazer',
    query: 'amimaro',
    token: process.env.PERSONAL_ACCESS_TOKEN // optional
  })
  .then(
    res => {
      console.log(res)
    }
  )
  .catch(
    err => {
      console.error(err)
    }
  )

How to create a Personal API Access Token?

Testing

npm run test

License

MIT LICENSE.md

Contributing

Pull Requests are welcome.

  1. Fork it
  2. Create your feature branch (git checkout -b new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin new-feature)
  5. Create new Pull Request

Crafted with <3 by amimaro.

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago