Basically ripped from SO.
If you find yourself in a situation where you're streaming a colored repl somewhere else, such as a browser, you can use this module to escape the terminal ansi colors.
Combine open-source packages with your private code and publish to a private registry behind the firewall. npm ♥ enterprise developers
how? learn more