0.1.0 • Published 10 years ago

colorize-stream v0.1.0

Weekly downloads
5
License
ISC
Repository
github
Last release
10 years ago

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.