🚀 Socket Launch Week 🚀 Day 2: Introducing Repository Labels and Security Policies.Learn More

ansi-to-react

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ansi-to-react

ANSI to React Elements

2.0.5
Version published
Weekly downloads
57K
-5.65%
Maintainers
4
Weekly downloads
 
Created

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>

Keywords

FAQs

Package last updated on 31 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts