![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/dceprojects.corals.io/node_modules/picocolors/ |
# picocolors npm install picocolors A tinier and faster alternative to [nanocolors](https://github.com/ai/nanocolors). Andrey, are you even trying? ```javascript import pc from "picocolors"; console.log(pc.green(`How are ${pc.italic(`you`)} doing?`)); ``` - Up to [2x faster and 2x smaller](#benchmarks) than alternatives - 3x faster and 10x smaller than `chalk` - [TypeScript](https://www.typescriptlang.org/) support - [`NO_COLOR`](https://no-color.org/) friendly - Node.js v6+ & browsers support - The same API, but faster, much faster - No `String.prototype` modifications (anyone still doing it?) - No dependencies and the smallest `node_modules` footprint ## Docs Read **[full docs](https://github.com/alexeyraspopov/picocolors#readme)** on GitHub.