W72crm_web-master/node_modules/picocolors
zhangwenzan c676fd5933 初始化crm前端代码 2025-05-27 11:25:53 +08:00
..
LICENSE 初始化crm前端代码 2025-05-27 11:25:53 +08:00
README.md 初始化crm前端代码 2025-05-27 11:25:53 +08:00
package.json 初始化crm前端代码 2025-05-27 11:25:53 +08:00
picocolors.browser.js 初始化crm前端代码 2025-05-27 11:25:53 +08:00
picocolors.d.ts 初始化crm前端代码 2025-05-27 11:25:53 +08:00
picocolors.js 初始化crm前端代码 2025-05-27 11:25:53 +08:00
types.ts 初始化crm前端代码 2025-05-27 11:25:53 +08:00

README.md

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_COLOR 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 on GitHub.