Given a GitHub user, get his favourite programming language based on his public repositories.
Install as a global package
npm install fpl-github -g
fpl <github username>
Note:
In order to avoid GitHub rates limits constraints, there is a default GitHub app created for testing purposes.
However to use this app is required to create a own GitHub app.
To use this app you have to set 2 env vars GITHUB_APP_KEY
and GITHUB_APP_SECRET
To test:
npm test
To get coverage information
npm run coverage
npm run eslint