Kumjami / favourite-programming-language

Given a GitHub user, get his favourite programming language based on his public repositories.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

favourite-programming-language (fpl-github)

Given a GitHub user, get his favourite programming language based on his public repositories.

How to install

Install as a global package

npm install fpl-github -g

Usage

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

Scripts

Testing & coverage

To test:

npm test

To get coverage information

npm run coverage

Code style

npm run eslint

About

Given a GitHub user, get his favourite programming language based on his public repositories.

License:MIT License


Languages

Language:JavaScript 100.0%