1.1.17 • Published 1 year ago
github-star-history v1.1.17
github-star-history
install
npm i --save github-star-history
or yarn add github-star-history
usage
Export your GitHub token as GITHUB_TOKEN
env.
import countStars from 'github-star-history';
// or:
// const countStars = require('github-star-history').default;
const result = await countStars('visionmedia/debug', '2019-01-01T00:00:00Z');
expect(result).to.equal(7054);
notes
- Due to GitHub API limits, if the past number of stars exceeds 39990, it returns 39990.
- The returned past number of stars can change if a user unstars a given repo because GitHub API returns only the current stargazers.
1.1.16
1 year ago
1.1.17
1 year ago
1.1.15
1 year ago
1.1.14
1 year ago
1.1.12
2 years ago
1.1.13
2 years ago
1.1.11
3 years ago
1.1.10
3 years ago
1.1.9
3 years ago
1.1.8
3 years ago
1.1.7
3 years ago
1.1.6
3 years ago
1.1.5
3 years ago
1.1.4
3 years ago
1.1.3
3 years ago
1.1.2
3 years ago
1.1.1
3 years ago
1.1.0
3 years ago
1.0.9
4 years ago
1.0.8
4 years ago
1.0.7
4 years ago
1.0.6
4 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago