term-true-color-correct

1.0.0 • Public • Published

term-true-color

A very simple function for outputting text in true color on terminals that support it (like iTerm 2 nightly or the terminals on this list).

Examples

var trueColor = require('term-true-color');
 
console.log(trueColor('red', 'hello world'));
console.log(trueColor('#7743ce', 'hello world', ['underline']));

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i term-true-color-correct

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • victorbjelkholm