Package Exports
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (col-log-cl) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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
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: