This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
rollodeqc-gh-user-streak with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Fetch github user contribution streak.
Since Github changed the users profiles to put more emphasis on the present and less on history, they removed the popular contribution streak count. This little script brings it back.
We're only looking at the last 365 days. If you've been streaking for more than a year, congratulation! But you won't see the result here, sorry.
The cli now uses update-notifier to let the user know about updates to this program.
Users have the ability to opt-out of the update notifier by changing the optOut property to true in ~/.config/configstore/update-notifier-rollodeqc-gh-user-streak.json. The path is available in notifier.config.path.
Users can also opt-out by setting the environment variable NO_UPDATE_NOTIFIER with any value or by using the --no-update-notifier flag on a per run basis.
$ npm install --save rollodeqc-gh-user-streak
const rollodeqcGhUserStreak = require('rollodeqc-gh-user-streak') rollodeqcGhUserStreak('unicorns') //=> 'unicorns & rainbows'
$ npm install --global rollodeqc-gh-user-streak
$ rollodeqc-gh-user-streak --help Usage rollodeqc-gh-user-streak [input] Options --details -d Output last year's contributions count per day. [Default: false] --pretty -p Pretty output Examples $ rollodeqc-gh-user-streak unicorns & rainbows $ rollodeqc-gh-user-streak ponies ponies & rainbows $ rollodeqc-gh-user-streak bob --details ... detailed stats for bob
AGPL-v3 2016-2018 © Robin Millette