picocolors (0.2.1)
Published 2026-02-24 14:02:37 +00:00 by atheaadmin
Installation
registry=npm install picocolors@0.2.1"picocolors": "0.2.1"About this package
picocolors
npm install picocolors
A tinier and faster alternative to nanocolors. Andrey, are you even trying?
import pc from "picocolors";
console.log(pc.green(`How are ${pc.italic(`you`)} doing?`));
- Up to 2x faster and 2x smaller than alternatives
- 3x faster and 10x smaller than
chalk - TypeScript support
NO_COLORfriendly- Node.js v6+ & browsers support
- The same API, but faster, much faster
- No
String.prototypemodifications (anyone still doing it?) - No dependencies and the smallest
node_modulesfootprint
Docs
Read full docs on GitHub.
Keywords
terminal
colors
formatting
cli
console
Details
Assets (1)
Versions (2)
View all
picocolors-0.2.1.tgz
2.4 KiB