# ansi-to-rgb

> Get the appropriate RGB colors for ANSI color codes

Latest version **1.0.0** (published 2017-10-31) · MIT license · 0 weekly downloads

## Install

```sh
npm install ansi-to-rgb
pnpm add ansi-to-rgb
yarn add ansi-to-rgb
bun add ansi-to-rgb
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2017-10-31 |
| First published | 2017-10-31 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Mario Nebl |
| Maintainers | marionebl |

## Links

- npm: https://www.npmjs.com/package/ansi-to-rgb
- Repository: https://github.com/marionebl/ansi-to-rgb
- Homepage: https://github.com/marionebl/ansi-to-rgb#readme
- Issues: https://github.com/marionebl/ansi-to-rgb/issues
- npm.io page: https://npm.io/package/ansi-to-rgb

## Recent versions

- 1.0.0 (latest) — 2017-10-31

## README

> Get the appropriate RGB colors for [ANSI color codes][wikipedia]

# ansi-to-rgb

```
npm install ansi-to-rgb
```

## Usage

```js
const rgb = require('ansi-to-rgb');

rgb[0] // => [ 0, 0, 0 ]
rgb[255] // => [ 238, 238, 238 ]
```

---
[wikipedia]: https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit

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