Skip to content
This repository has been archived by the owner on Apr 13, 2024. It is now read-only.

Commit

Permalink
add newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
TorchedSammy committed Jun 16, 2020
1 parent a632906 commit 1c705b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ansiplace
Replace tags in any string with ansi color codes.

It's a very small and simple package that replaces tags (`{reset}`, `{blue}`) to ANSI color codes.
It's a very small and simple package that replaces tags (`{reset}`, `{blue}`) to ANSI color codes.
It doesn't check if the terminal supports color. You have to do that yourself.

# Installation
Expand All @@ -17,7 +17,7 @@ console.log(text)
```
There is a rainbow example in [rainbow.js](https://github.com/Terminalfreaks/ansiplace/blob/master/rainbow.js).

**`ansiplace(text)`**
**`ansiplace(text)`**
The main and only function, which returns `text` with the color codes.

**`ansiplace.colors`**
Expand Down

0 comments on commit 1c705b3

Please sign in to comment.