Neurotic Pumpkin Murderer

    github-lang-colors

    1.0.4 • Public • Published

    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

    Install

    npm i github-lang-colors

    DownloadsWeekly Downloads

    17

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    57 kB

    Total Files

    13

    Last publish

    Collaborators

    • lluiscamino