Emulate color codes (for any CLI-style crates): [xterm.js](http://xtermjs.org/) makes this very simple, and is used by projects such as [genact](https://github.com/svenstaro/genact) ([demo page with xterm](https://svenstaro.github.io/genact/)).