color-logger-ts
v1.0.3
Published
- ![#000000](https://placehold.co/15x15/000000/000000.png) `black` - ![#FF0000](https://placehold.co/15x15/FF0000/FF0000.png) `red` - ![#00FF00](https://placehold.co/15x15/00FF00/00FF00.png) `Green` - ![#FFFF00](https://placehold.co/15x15/FFFF00/FFFF00.pn
Downloads
1
Maintainers
Readme
-
black
-
red
-
Green
-
Yellow
-
Blue
-
Magenta
-
Cyan
-
White
-
Bright Black
-
Bright Red
-
Bright Green
-
Bright Yellow
-
Bright Blue
-
Bright Magenta
-
Bright Cyan
-
Bright White
Available value
reset
black
red
green
yellow
blue
magenta
cyan
white
brightBlack
brightRed
brightGreen
brightYellow
brightBlue
brightMagenta
brightCyan
brightWhite
default - reset
Example
const colorLogger = require('./color-logger');
const msg = "World"
colorLogger.log('Hello', msg, 'blue');
colorLogger.log('Hello', msg, 'brightRed');
colorLogger.log('Hello', msg, 'reset');
// .......