github-lang-colors
Simple package that returns the color GitHub has defined for any programming language.
Installation
Via npm:
npm i github-lang-colors
Usage
const getColor = ;console; // #f1e05aconsole; // #4f5d95
Note that the function is not case-sensitive.
console; // #4f5d95