colorprint-js
v1.0.0
Published
- total colors-`black,red,blue,cyan,purple,white,yellow,green`
Downloads
2
Readme
Make Your Logs Colorfull
- total colors-
black,red,blue,cyan,purple,white,yellow,green
Usage
install using
npm i colorprint-js
const colorprint = require("colorprint-js")
// will print the instructionscolorprint.manual()
-colorprint.red(variable as argument)
note: instead of "const colorprint" you can use fancy names like 'log,print,color etc..'
- example:
const print = require("colorprint-js")
print.manual()
-print.red(any typeof variable as argument)
How it is differet From Chalk (npm package)
- it does not return anything
- you dont need to use console.log()
- replacement for console.log()
- accepts all type of data Type -[string,number,boolean,array,object,Symbol,null,undefined]