Last change
on this file was 57e58a3, checked in by ste08 <sjovanoska@…>, 4 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
622 bytes
|
Rev | Line | |
---|
[57e58a3] | 1 | # picocolors
|
---|
| 2 |
|
---|
| 3 | The tiniest and the fastest library for terminal output formatting with ANSI colors.
|
---|
| 4 |
|
---|
| 5 | ```javascript
|
---|
| 6 | import pc from "picocolors"
|
---|
| 7 |
|
---|
| 8 | console.log(
|
---|
| 9 | pc.green(`How are ${pc.italic(`you`)} doing?`)
|
---|
| 10 | )
|
---|
| 11 | ```
|
---|
| 12 |
|
---|
| 13 | - **No dependencies.**
|
---|
| 14 | - **14 times** smaller and **2 times** faster than chalk.
|
---|
| 15 | - Used by popular tools like PostCSS, SVGO, Stylelint, and Browserslist.
|
---|
| 16 | - Node.js v6+ & browsers support. Support for both CJS and ESM projects.
|
---|
| 17 | - TypeScript type declarations included.
|
---|
| 18 | - [`NO_COLOR`](https://no-color.org/) friendly.
|
---|
| 19 |
|
---|
| 20 | ## Docs
|
---|
| 21 | Read **[full docs](https://github.com/alexeyraspopov/picocolors#readme)** on GitHub.
|
---|
Note:
See
TracBrowser
for help on using the repository browser.