Skip to content

Sandeep-morya/ColorPrint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 instructions
  • colorprint.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]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published