console-helper
Simple console helper which provides meaningful and colorful methods for Info, Warning and Error
Last updated 3 years ago by shailen .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install console-helper 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.5                                ...           latest (3 years ago)

6 Versions

  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 4
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2021 © npmmirror.com |