1.0.5 • Published 7 years ago

console-helper v1.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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:

Figure

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago