gh-streak
which has been removed.
This module no longer works since it pulled streaks from the contribution graphInstall
cli:
npm install -g gh-streak
module:
npm install gh-streak --save
Usage
cli:
gh-streak <username>
module:
var ghStreak = require('gh-streak');
ghStreak(username, function (err, count, year) {
if (err) {
// No user or streak could be found
} else {
console.log('The streak is', count);
console.log('Contributions for year', year);
}
});