Overview

ansi-remover

A Transform stream to remove ansi escape codes

Example: Remove codes from stdin and pipe to stdout

AnsiRemover = require('ansi-remover');
remover = new AnsiRemover();
process.stdin.pipe(remover);
remover.pipe(process.stdout);
process.stdin.read(0);