ansispan

Change your ANSI color codes into HTML `<span>`s

npm install ansispan
15 downloads in the last day
125 downloads in the last week
904 downloads in the last month

ansispan Build Status

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

Change your ANSI color codes into HTML <span>s

Installation

npm install ansispan

Usage

var ansispan = require('ansispan');
require('colors');

ansispan('green!'.green); // => '<span style="color: green">green!</span>'
npm loves you