Skip to content

Commit 116df8d

Browse files
committed
Merge pull request #1 from nteract/doc
Document how to use this component.
2 parents 1eaf3e0 + a29c69b commit 116df8d

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# ANSI to React
2+
3+
Convert ANSI Escape Codes to pretty text output for React.
4+
5+
```
6+
npm install --save ansi-to-react
7+
```
8+
9+
## Usage
10+
11+
```js
12+
const Ansi = require('ansi-to-react');
13+
14+
...
15+
16+
<Ansi>
17+
{'\u001b[34mnode_modules\u001b[m\u001b[m'}
18+
</Ansi>
19+
```

0 commit comments

Comments
 (0)