1.0.5 • Published 6 years ago
console-helper v1.0.5
Console Helper
Simple console helper which provides meaningful and colorful methods for Info, Warning and Error
Installation
Using NPM:
npm install console-helper
npm install --save console-helper
In Node.js:
// Load the whole library
const c = require("console-helper");
c.info("This prints a blue info label") // Info -> This prints a blue info label
c.warn("This prints a green warning label") // Warning -> This prints a green warning label
c.error("This prints a red error label") // Error -> This prints a red error label
// Load only the methods you want
const { info, warn, error } = require("console-helper");
info("This prints a blue info label") // Info -> This prints a blue info label
warn("This prints a green warning label") // Warning -> This prints a green warning label
error("This prints a red error label") // Error -> This prints a red error label
Output: