ansi-color-stream
colorize a stream with ansi colors
example
Here we create 3 streams and interleave the colored chunks.
var through = ;var colorize = ;var a = ;var b = ;var c = ;a;b;c;a;b;c;b;c;a;
methods
var colorize =
var stream = colorize(color)
Return a transform stream that adds color
to each of the chunks. color
is a
fuzzy string name or array
that describes the color to use.
install
With npm do:
npm install ansi-color-stream
license
MIT