Skip to content
/ ansispan Public
forked from mmalecki/ansispan

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

License

Notifications You must be signed in to change notification settings

f3l/ansispan

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>'

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%