Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

piccolore

delucis1.2mISC0.1.3TypeScript support: included

A tiny, zero-dependency library for styling terminal text

colors, terminal, cli, formatting, styleText

readme

piccolore

A temporary fork of picocolors.

  • ESM only
  • 2 KB, total install size <4 KB
  • Works in non-Node runtimes

Usage

import pc from 'piccolore';

console.log(pc.blue(`I’m ${pc.bold('really')} excited!`));

changelog