term-true-color

2.0.1 • Public • Published

term-true-color

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

Examples

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

Package Sidebar

Install

npm i term-true-color

Weekly Downloads

6

Version

2.0.1

License

MIT

Last publish

Collaborators

  • beaugunderson