# bare-ansi-escapes

> Parse and produce ANSI escape sequences

Latest version **2.2.3** (published 2025-04-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install bare-ansi-escapes
pnpm add bare-ansi-escapes
yarn add bare-ansi-escapes
bun add bare-ansi-escapes
```

## Health

**Score 50/100 (C)** — status: stable.

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: stale.

## Facts

| | |
|---|---|
| Version | 2.2.3 |
| Published | 2025-04-15 |
| First published | 2023-06-22 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 26.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 5 |
| Author | Holepunch |
| Maintainers | mafintosh, kasperisager |

## Links

- npm: https://www.npmjs.com/package/bare-ansi-escapes
- Repository: https://github.com/holepunchto/bare-ansi-escapes
- Homepage: https://github.com/holepunchto/bare-ansi-escapes#readme
- Issues: https://github.com/holepunchto/bare-ansi-escapes/issues
- npm.io page: https://npm.io/package/bare-ansi-escapes

## Dependencies (1)

- [bare-stream](https://npm.io/package/bare-stream.md) ^2.6.5

## Recent versions

- 2.2.3 (latest) — 2025-04-15
- 2.2.2 — 2024-06-03
- 2.2.1 — 2024-05-16
- 2.2.0 — 2024-05-15
- 2.1.1 — 2024-04-27
- 2.1.0 — 2023-12-11
- 2.0.0 — 2023-09-19
- 1.2.0 — 2023-08-17
- 1.1.0 — 2023-06-26
- 1.0.0 — 2023-06-22

## README

# bare-ansi-escapes

Parse and produce ANSI escape sequences.

```
npm i bare-ansi-escapes
```

## Usage

```js
const KeyDecoder = require('bare-ansi-escapes/key-decoder')

readableStream.pipe(new KeyDecoder()).on('data', (key) => console.log(key))
```

## License

Apache-2.0

---
_Source: https://npm.io/package/bare-ansi-escapes · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
