Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 381 Bytes

readme.md

File metadata and controls

16 lines (11 loc) · 381 Bytes

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);