node package manager

colorize-stream

colorize-stream

A dead simple through-stream that colorizes output using ANSI escape codes.

Installation

Get it:

npm install colorize-stream

Require it:

var colorize = require('colorize-stream');

Usage

var stream = colorize('red').pipe(process.stdout);
stream.write("here's some red text\n");

Copyright & License

© 2014 Jason Frame [ @jaz303 / jason@onehackoranother.com ]

Released under the ISC license.