Skip to content
Change your ANSI color codes into HTML `<span>`s
JavaScript
Latest commit 9d8fa3e Jun 12, 2013 @mmalecki Merge pull request #5 from f3l/blue
Add blue color

README.md

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>'
Something went wrong with that request. Please try again.