@nrjwolf/color-log
v1.0.4
Published
Colorize your logs
Downloads
5
Maintainers
Readme
Color Log
Helps you to colorize you logs
Installation and usage
In terminal/console type:
yarn add @nrjwolf/color-log
or
npm install @nrjwolf/color-log
Somewhere early in code use:
import 'nrjwolf/color-log'
Finally in code:
console.log('Hello World'.white())
console.log('Hello World'.yellow())
console.log('Hello World'.red())
console.log('Hello World'.green())
console.log('Hello World'.blue())
console.log('Hello World'.cyan())
console.log('Hello World'.redBg())
console.log('Hello World'.greenBg())
console.log('Hello World'.yellowBg())
console.log('Hello World'.blueBg())
console.log('Hello World'.purpleBg())
console.log('Hello World'.cyanBg())