console-colour
v0.0.7
Published
Change your terminal output colour
Downloads
10
Maintainers
Readme
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