CodeBrowser / npm / chalk
chalk@5.6.2
// Terminal string styling done right
$ npm install chalk
downloads/wk
433,435,535
license
MIT
version
5.6.2
published
Sep 8, 2025
What is chalk?
Chalk is a Node.js library that adds colored text and styling to terminal output, making it easier to format console logs and CLI messages with different colors and text styles. Developers use it to improve readability of command-line tools by highlighting errors, warnings, success messages, and other output with visual distinction without dealing with raw ANSI escape codes.
Keywords
#color #colour #colors #terminal #console #cli #string #ansi #style #styles #tty #formatting #rgb #256 #shell #xterm #log #logging #command-line #text
Maintainers
sindresorhus