console-colour

Change your terminal output colour

npm install console-colour
14 downloads in the last week
18 downloads in the last month

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
npm loves you