Skip to content
React Libraries
On this page

kleur

Functions for formatting terminal text with ANSI styles.

What it does

Functions for formatting terminal text with ANSI styles.

When it fits

Styling logs and status messages in Node.js commands.

Other options in this category

  • Ansis — Formatting command-line output with composable styles.
  • CAC — Building a small CLI with argument parsing and generated help.
  • Clack — Creating guided setup flows with prompts and progress messages.
  • cli-cursor — Keeping animated terminal interfaces visually tidy.
  • cli-spinners — Building a custom command-line progress indicator.

Source

Project source for kleur ↗

Editorial overview reviewed on October 24, 2026. Follow the source for current setup, compatibility, and licensing.

Build a command-line workflow →

All command-line tools options →