tty2http
This is a stream middleware for visualization results from color console output to HTML
Installation
npm --save i tty2http
Example
run from root of module npm i && npm test
convert colorized console output of commend diff tty2html.js test.js --color=always
to html
with ability for stream support and show this result online
var fs=;var spawn = spawn;var tty2html=; var output=fs // or it is can be Express.js Response streamoutput; //for a \t indentation support var t2h=;t2h; var child = ;childstdout;childstderr;