Colored stdout from BufferedProcess in Atom Plugin


Is it possible to get the ANSI color codes from stdout from BufferedProcess?
When I’m in terminal and I run a command I get colored output.
When I create and run a BufferedProcess it doesn’t contain any color code escapes.
I am looking to get the ANSI color codes from the processes stdout / stderr and convert the ANSI to css and display it in a view.

I want to know where to start and if there is already some kind of option to get color from the process.