node-coolors
Simple way to add colors to node console.
Usage
Using Functions
const coolors = consoleconsole
Using Properties
const coolors = consoleconsole
Concatenate colors
const coolors = consoleconsole
Properties List
- _reset
Reset to default output, used after each function call.
- _bright
Bright text
- _dim
Dimmed text
- _underscore
Underlined text
- _blink
Blink text
- _reverse
Reverse colors
- _hidden
Invisible text
- _fgBlack
Black text
- _fgRed
Red text
- _fgGreen
Green text
- _fgYellow
Yellow text
- _fgBlue
Blue text
- _fgMagenta
Magenta text
- _fgCyan
Cyan text
- _fgWhite
White text
- _bgBlack
Black background
- _bgRed
Red background
- _bgGreen
Green background
- _bgYellow
Yellow background
- _bgBlue
Blue background
- _bgMagenta
Magenta background
- _bgCyan
Cyan background
- _bgWhite
White background
Methods List
- reset(text)
Reset to default output, used after each function call.
- bright(text)
Bright text
- dim(text)
Dimmed text
- underscore(text)
Underlined text
- blink(text)
Blink text
- reverse(text)
Reverse colors
- hidden(text)
Invisible text
- fgBlack(text)
Black text
- fgRed(text)
Red text
- fgGreen(text)
Green text
- fgYellow(text)
Yellow text
- fgBlue(text)
Blue text
- fgMagenta(text)
Magenta text
- fgCyan(text)
Cyan text
- fgWhite(text)
White text
- bgBlack(text)
Black background
- bgRed(text)
Red background
- bgGreen(text)
Green background
- bgYellow(text)
Yellow background
- bgBlue(text)
Blue background
- bgMagenta(text)
Magenta background
- bgCyan(text)
Cyan background
- bgWhite(text)
White background