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
rosmcmahon opened this issue 3 years ago · comments
for example,
import log from 'ansicolor' //... console.log(log.green('Firefox testing'))
on firefox outputs: �[32mFirefox testing�[39m
�[32mFirefox testing�[39m
chrome is as expected: