Chalk
🖍 Terminal string styling done right observed · 2026-10-10
Health v2 · maintenance only
93/100
- Activity 96
- Release rhythm 84
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 42.0
- age_days: 4827
- days_rel: 24
- days_push: 24
- n_releases_24m: 7
Adoption not part of the score
23320 stars · 3053 forks observed · 2026-10-10
What it is AI-extracted, prompt v1, taxonomy v1, 2026-10-12, confidence 0.97
Chalk is a JavaScript library for styling terminal strings with colors and other ANSI styles. It provides an expressive, chainable API and works in both Node.js and browser environments.
Use cases
- Add color to console.log output in a Node.js CLI tool
- Highlight error and warning messages in terminal applications
- Create readable, colored logs for development and debugging
- Style command‑line help text with bold, underline, and background colors
- Generate colored output for build scripts and automation tools
When to choose
- You need a lightweight, zero‑dependency solution for terminal string styling
- Your project targets modern Node.js (ESM) or browsers and wants an expressive API
- You want automatic detection of terminal color support and true‑color (RGB) capabilities
- You prefer a library with a large ecosystem and active maintenance
When to avoid
- You require support for older Node.js versions that do not handle ESM modules well
- You need a minimal binary size and prefer a smaller alternative like yoctocolors
- Your application runs in environments without ANSI support (e.g., plain Windows cmd without color)
- You need advanced theming or UI components beyond simple string styling
Facets
library · maturity active
cli logging developer-tools browser terminal-styling ansi-colors string-formatting esm no-dependencies terminal-emulator command-line nodejs
4 sources
- readme: https://github.com/chalk/chalk · fetched 2026-10-10 · 47a0df25b953
- registry_npm: https://registry.npmjs.org/chalk · fetched 2026-09-28 · 33a63375808d
- registry_npm: https://registry.npmjs.org/chalk-cli · fetched 2026-09-28 · 5480039f67ed
- registry_npm: https://registry.npmjs.org/chalk-template · fetched 2026-09-28 · bec53d2e6483
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| chalk/chalk | main | 93 |
| chalk/chalk-cli | plugin | 28 |
| chalk/chalk-template | plugin | 86 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem