chalk/chalk
🖍 Terminal string styling done right observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 94
- Release rhythm 95
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 22
- age_days: 4779
- days_rel: 38
- days_push: 38
- n_releases_24m: 6
Adoption not part of the score
23308 stars · 1026 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Chalk is a zero-dependency JavaScript library for styling terminal string output with colors, backgrounds, and text modifiers via a chainable API. It auto-detects color support and supports 256-color and truecolor output.
Use cases
- colorize CLI output in Node.js
- add colored warnings and errors to console logs
- style terminal text with ANSI colors
- create themed colored log messages
- detect terminal color support
- strip ANSI codes from strings
When to choose
- you need reliable, widely-adopted terminal styling in JavaScript
- you want nested and chainable color styles with truecolor support
- you need a dependency-free, performant coloring library
When to avoid
- you want a minimal, smaller alternative (consider yoctocolors)
- you need ESM-incompatible tooling without pinning to Chalk 4
- you are styling non-terminal output like HTML or GUIs
Facets
library · maturity stable
cli developer-tools logging developer-tools frontend cli cross-platform ansi-escape-codes terminal-colors string-styling truecolor esm command-line nodejs
2 sources
- readme: https://github.com/chalk/chalk · fetched 2026-08-28 · 47a0df25b953
- registry_npm: https://registry.npmjs.org/chalk · fetched 2026-08-29 · c8cc9f146afe
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| chalk/chalk | main | 96 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem