1.0.1 • Published 8 years ago

console.colors v1.0.1

Weekly downloads
1
License
MIT
Repository
-
Last release
8 years ago

console.colors

Do this

require('console.colors');

Now you can do this

console.color('red', 'bold', 'underline')('Hello world');
console.color('blue', 'bold', 'italic')('Hello world');
console.color('green', 'bgBlack')('Hello world');
console.color('bgCyan', 'strikethrough')('Hello world');
console.color('hidden')('Hello world');
console.color('inverse')('Hello world');
console.color('inverse', 'red')('Hello world');

All color options

colors: black, red, green, yellow, blue, magenta, cyan, white, gray, grey

backgrounds: bgBlack, bgRed, bgGreen, bgYellow, bgBlue, bgMagenta, bgCyan, bgWhite

decoration: reset, bold, dim, italic, underline, inverse, hidden, strikethrough

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago