Package detail

colorize-stream

jaz3039ISC0.1.0

ANSI colorizing through stream!

colorize, stream, ansi, colors

readme

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.