This JS snippet will find the first 2,000 comments in a given GitHub repo, then list the authors of those comments sorted by number of comments in ascending order.
- Clone or copy-paste this gist somewhere
yarn
ornpm install
- Make sure you have
babel-cli
globally available:npm i -g babel-cli
- Choose your repo and adjust line #7 of
index.js
as necessary - Run
babel-node index.js
- Party 🎉