zheng d4d8c5534b webpack 20 timmar sedan
..
LICENSE d4d8c5534b webpack 20 timmar sedan
README.md d4d8c5534b webpack 20 timmar sedan
package.json d4d8c5534b webpack 20 timmar sedan
picocolors.browser.js d4d8c5534b webpack 20 timmar sedan
picocolors.d.ts d4d8c5534b webpack 20 timmar sedan
picocolors.js d4d8c5534b webpack 20 timmar sedan
types.d.ts d4d8c5534b webpack 20 timmar sedan

README.md

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_COLOR friendly.

Docs

Read full docs on GitHub.