1.1.17 • Published 2 years 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
2 years ago
1.1.17
2 years ago
1.1.15
2 years ago
1.1.14
2 years ago
1.1.12
3 years ago
1.1.13
3 years ago
1.1.11
4 years ago
1.1.10
4 years ago
1.1.9
4 years ago
1.1.8
4 years ago
1.1.7
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.1.3
4 years ago
1.1.2
4 years ago
1.1.1
4 years ago
1.1.0
4 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
6 years ago
1.0.4
6 years ago
1.0.3
6 years ago
1.0.2
6 years ago
1.0.1
6 years ago
1.0.0
6 years ago