tty-colors

0.0.6 • Public • Published

tty-colors

NPM version

Small module to extend strings with ANSI escape codes for styling strings in the terminal.

Usage example:

// enable colors in console
require('tty-colors');
 
// print something in green
console.log('something'.green.bold);

Package Sidebar

Install

npm i tty-colors

Weekly Downloads

3

Version

0.0.6

License

GPL-3.0

Last publish

Collaborators

  • darkpark