cls
Colorized command line logging made easy.
Dependencies
- None
Install
npm install opensoars_cls
API
cls(text, [color], [style])
Where text
is the string or object to style, color
is an optional color string and style
is an optional style string or an array of style strings.
Example
var cls = ; var styled_string = ; console;
Options
- 9 Colors
- white
- grey
- black
- blue
- cyan
- green
- magenta
- red
- yellow
- 5 Styles (if supported by your os its terminal)
- bold
- italic
- underline
- inverse
- strikethrough