github-track-followers

CLI to display followers of GitHub user

Usage no npm install needed!

<script type="module">
  import githubTrackFollowers from 'https://cdn.skypack.dev/github-track-followers';
</script>

README

github-track-followers

npm version downloads count travis coveralls

:hammer: CLI to display followers of GitHub user

Installation

npm install -g github-track-followers

Usage

> github-track-followers -h

Usage: github-track-followers -u <username>

CLI to display followers of GitHub user

Options:
  -V, --version          output the version number
  -u, --user <username>  fetch and display followers from GitHub
  -h, --help             display help for command

Use Cases

Display whole list of followers

> github-track-followers -u piecioshka

GitHub user "piecioshka" has followers (268):

* a-dabrowski
* aarek
* adam-sokolowski
...

Save report to file

github-track-followers -u piecioshka > "/tmp/piecioshka-$(date +"%Y-%m-%d-%H-%M-%S").md"
cat /tmp/piecioshka-2016-11-18-22-47-52.md

GitHub user "piecioshka" has followers (268):

* a-dabrowski
* aarek
* adam-sokolowski
...

Enter to debug mode (eg. display requests)

DEBUG=* github-track-followers -u piecioshka

Unit tests

npm test

Code coverage

npm run coverage

Troubleshooting

ERROR: Try to display followers of user who is not exists
github-track-followers -u not-found-username-iu1h23j

Not found

Solution: maybe you have typo?

ERROR: Too many request in one day per one IP address
github-track-followers -u piecioshka

API rate limit exceeded for 999.999.999.999. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)

Solution: you should rest though next 24 hours?

License

The MIT License @ 2016-2020