ansi-colors-tk

    1.0.1 • Public • Published

    ANSI-COLORS

    Made for coloring texts in the terminal.

    References

    Installation

    npm install ansi-colors-tk

    Examples

    import ANSI_COLORS from 'ansi-colors-tk';
    
    console.log(ANSI_COLORS.TEXT.BLUE + "I'm blue!", ANSI_COLORS.RESET);
    import ANSI_COLORS from 'ansi-colors-tk';
    
    const Random = ANSI_COLORS.Random();
    
    console.log(Random.color + `I'm ${Random.name}!`, ANSI_COLORS.RESET);
    import ANSI_COLORS from 'ansi-colors-tk';
    
    const Array = ANSI_COLORS.Order();
    
    for(const Index in Array) {
        console.log(Array[Index].color + `I'm ${Array[Index].name}!`, ANSI_COLORS.RESET);
    };

    License

    MIT

    Keywords

    Install

    npm i ansi-colors-tk

    DownloadsWeekly Downloads

    1

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    8.38 kB

    Total Files

    5

    Last publish

    Collaborators

    • a4z0