xpl / ansicolor

A JavaScript ANSI color/style management. ANSI parsing. ANSI to CSS. Small, clean, no dependencies.

Home Page:http://npmjs.com/package/ansicolor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Firefox not being detected. Prints terminal codes.

rosmcmahon opened this issue · comments

for example,

import log from 'ansicolor'
//...
console.log(log.green('Firefox testing'))

on firefox outputs:
�[32mFirefox testing�[39m

chrome is as expected:
image