🖍 Terminal string styling done right
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.