← All repos

chalk

🖍 Terminal string styling done right

ansiansi-escape-codeschalkclicolorcommandlineconsolejavascriptstrip-ansiterminalterminal-emulators
Browse cluster: Terminal & CLI Output Styling
377commits
71contributors
1languages

Tech stack & purpose

Chalk is a JavaScript library for styling terminal strings with colors and text modifiers using ANSI escape codes. It provides an expressive, chainable API that supports basic 16-color output, 256-color mode, and Truecolor (16 million colors), with automatic detection of terminal color capabilities and no external dependencies. The project is maintained by Sindre Sorhus and Josh Junon, and is widely used across the npm ecosystem, with over 115,000 packages depending on it as of July 2024.

Community & reference links

Languages

JavaScript
100.0%

Contributors (top 30 of 71)