JSPM

  • Created
  • Published
  • Downloads 79559
  • Score
    100M100P100Q200962F
  • License MPL-2.0

ANSI to React Elements

Package Exports

  • ansi-to-react

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (ansi-to-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

ANSI to React

Convert ANSI Escape Codes to pretty text output for React.

npm install --save ansi-to-react

Usage

const Ansi = require('ansi-to-react');

...

<Ansi>
  {'\u001b[34mnode_modules\u001b[m\u001b[m'}
</Ansi>