Nominal Pizza Masticator
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    ansiparsepublic

    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

    63

    version

    0.1.0

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar