ansispan

Change your ANSI color codes into HTML <span>s

ansispan

Copyright (C) 2011 by Maciej Małecki
MIT License (see LICENSE file)

Change your ANSI color codes into HTML <span>s

npm install ansispan
var ansispan = require('ansispan');
require('colors');
 
ansispan('green!'.green); // => '<span style="color: green">green!</span>'