# picocolors

> The tiniest and the fastest library for terminal output formatting with ANSI colors

Latest version **1.1.1** (published 2024-10-16) · ISC license · 0 weekly downloads

## Install

```sh
npm install picocolors
pnpm add picocolors
yarn add picocolors
bun add picocolors
```

## Health

**Score 30/100 (F)** — status: maintenance-mode.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2024-10-16 |
| First published | 2021-09-27 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 6.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1752 |
| Author | Alexey Raspopov |
| Maintainers | alexeyraspopov |
| Keywords | terminal, colors, formatting, cli, console |

## Links

- npm: https://www.npmjs.com/package/picocolors
- Repository: https://github.com/alexeyraspopov/picocolors
- Homepage: https://github.com/alexeyraspopov/picocolors#readme
- Issues: https://github.com/alexeyraspopov/picocolors/issues
- npm.io page: https://npm.io/package/picocolors

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.1.1 (latest) — 2024-10-16
- 1.1.0 — 2024-09-02
- 1.0.1 — 2024-05-14
- 1.0.0 — 2021-10-13
- 0.2.1 — 2021-10-04
- 0.2.0 — 2021-10-03
- 0.1.0 — 2021-09-27
- 0.0.1 — 2021-09-27
- 0.0.0 — 2021-09-27

## README

# picocolors

The tiniest and the fastest library for terminal output formatting with ANSI colors.

```javascript
import pc from "picocolors"

console.log(
  pc.green(`How are ${pc.italic(`you`)} doing?`)
)
```

- **No dependencies.**
- **14 times** smaller and **2 times** faster than chalk.
- Used by popular tools like PostCSS, SVGO, Stylelint, and Browserslist.
- Node.js v6+ & browsers support. Support for both CJS and ESM projects.
- TypeScript type declarations included.
- [`NO_COLOR`](https://no-color.org/) friendly.

## Docs
Read **[full docs](https://github.com/alexeyraspopov/picocolors#readme)** on GitHub.

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