1.0.5 • Published 8 years ago

console-helper v1.0.5

Weekly downloads
2
License
ISC
Repository
github
Last release
8 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

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago