Turn debugging from a chore into a carnival with colorized logs that’ll make bugs dance away!
A refined console.log for coders with a taste for elegance.
Light, Clean & Simple
npm install cherrylog --save-dev
import cherrylog from "cherrylog";
cherrylog("I'm blue Da ba dee da ba di")("blue");
cherrylog("It ain't easy being green.", true)("green");
cherrylog("Simply red!", 1, 2)("red");
cherrylog("Logging an object...", { name: "John" })(); // defaults to the delicious cherry color
npm run build
npm version patch
- (within the project's directory)
npm run build
npm link
- (outside the project's directory - somewhere else to test our latest package changes)
-
npm link cherrylog
(equivalent to npm install cherrylog) import cherrylog from "cherrylog"
-