Buckets:
149 MB
6,599 files
Updated 13 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| LICENSE | 787 Bytes xet | 30c7b4f0 | |
| README.md | 622 Bytes xet | a034ac98 | |
| package.json | 552 Bytes xet | b910cce9 | |
| picocolors.browser.js | 598 Bytes xet | e948b1bb | |
| picocolors.d.ts | 138 Bytes xet | e556dd63 | |
| picocolors.js | 2.66 kB xet | d9239ee6 | |
| types.d.ts | 1.01 kB xet | f110f94c |
picocolors
The tiniest and the fastest library for terminal output formatting with ANSI colors.
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_COLORfriendly.
Docs
Read full docs on GitHub.
- Total size
- 149 MB
- Files
- 6,599
- Last updated
- Jun 23
- Pre-warmed CDN
- US EU US EU