Miss any of our Open RFC calls?Watch the recordings here! »

ansiparse

0.1.0 • Public • Published

ansiparse Build Status

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

ansiparse parses ANSI color codes.

Installation

npm install ansiparse

Usage

var ansiparse = require('ansiparse');
require('colors');
ansiparse('red'.red + ' ' + 'green'.green);
  // => [ { foreground: '31', text: 'red' }, { text: ' ' }, { foreground: '32', text: 'green' } ]

Keywords

none

Install

npm i ansiparse

DownloadsWeekly Downloads

547

Version

0.1.0

License

none

Last publish

Collaborators

  • avatar