1.1.3 • Published 9 months ago

@jamesdphillips/ansi-escape v1.1.3

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

ansi-escape

No bells or whistles parsing of ANSI escape sequences.

☁️ Installation

# Using yarn
yarn add @jamesdphillips/ansi-escape

# Using npm
npm install --save @jamesdphillips/ansi-escape

🚀 Usage

import parse from "@jamesdphillips/ansi-escape";

const content = "\x1B[38;5;1mred\x1B[0m";
const parsedContent = parse(myContent);
// ...

👩‍🎨 Previous Art

Parser largely borrowed from anser.

1.1.1

9 months ago

1.1.0

9 months ago

1.1.3

9 months ago

1.1.2

9 months ago

1.0.0

7 years ago