console-colour

0.0.7 • Public • Published

NPM

Build Status

Console Colour

console-colour is a small package that can be used with node.js to control console output. The package can change the output text color.

Installation

Install with npm to current directory:

  npm install console-colour --save

Usage

require package into your project:

  require('console-colour')(String);

or require package into your project:

  var cconsole = require('console-colour').color;

Examples

  console.log("bold".bold);
  console.log(cconsole.bold("bold"));

It will print the string bold in bold at terminal.

For more usage ,please see examples/examples.js.

LICENSE

MIT

Package Sidebar

Install

npm i console-colour

Weekly Downloads

7

Version

0.0.7

License

none

Last publish

Collaborators

  • ngot