1.1.1 • Published 10 months ago

col-log-cl v1.1.1

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

col-log-cl

A colorful logger for Node.js. It is useful for debugging color issues in terminal applications.

Install

npm install col-log-cl

Usage

const cl = require("col-log-cl");

cl.log("Hello, World!");
cl.info("This is an information message");
cl.warn("This is a warning message");
cl.error("This is an error message");
cl.success("This is a success message");
cl.random("This is a random message");
cl.magenta("This is a magenta message");
cl.cyan("This is a cyan message");
cl.white("This is a white message");
cl.green("This is a green message");
cl.yellow("This is a yellow message");
cl.red("This is a red message");
cl.blue("This is a blue message");
cl.gray("This is a gray message");
cl.bgBlue("This is a background blue message");
cl.bgRed("This is a background red message");
cl.bgGreen("This is a background green message");
cl.bgYellow("This is a background yellow message");
cl.bgMagenta("This is a background magenta message");
cl.bgCyan("This is a background cyan message");
cl.bgWhite("This is a background white message");
cl.bgGray("This is a background gray message");
cl.highlight("This is a highlighted message");

Output

Alt text

Help

To get help with col-log-cl, run the following command:

const cl = require("col-log-cl");
cl.help(​);

This will print the following help message:

Help Message

1.1.1

10 months ago

1.1.0

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago