8000 GitHub - lluiscamino/github-lang-colors: Get the color of a programming language easily! 👨‍💻
[go: up one dir, main page]

Skip to content

lluiscamino/github-lang-colors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-lang-colors

npm version

Simple package that returns the color GitHub has defined for any programming language.

Installation

Via npm:

npm i github-lang-colors

Usage

const getColor = require('github-lang-colors');
console.log(getColor('JavaScript')); // #f1e05a
console.log(getColor('PHP')); // #4f5d95

Note that the function is not case-sensitive.

console.log(getColor('php')); // #4f5d95

Language colors source

About

Get the color of a programming language easily! 👨‍💻

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0