cherrylog
TypeScript icon, indicating that this package has built-in type declarations

1.0.11 • Public • Published

logo

📙Description

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

💾 Install

npm install cherrylog --save-dev

🛠️ Usage

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

image info

Development

📦 BUILD (builds to /dist directory)

npm run build

🔂 Increment version before publishing package

npm version patch

Test locally, before publish

  • (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"

Package Sidebar

Install

npm i cherrylog

Weekly Downloads

2

Version

1.0.11

License

ISC

Unpacked Size

206 kB

Total Files

15

Last publish

Collaborators

  • joao.geraldes