chalk

Chalk is a JavaScript library that provides text formatting and color management on terminal screens. It offers 256/Truecolor color support and automatic color detection features thanks to its chainable and interoperable interface. It is performance-oriented with its structure and Dependency-free architecture that does not extend the String prototype.

CH

chalk · Terminal & CLI

STARS23.3K
FORKS2.8K
COMMITS377
CONTRIBUTORS58
VERSIONv6.0.0
UPDATED8 days ago
JavaScriptTerminalCLIRenk YönetimiMIT
What can it do?
  • You apply color and style to terminal outputs with chaining and interlocking methods.
  • In supported terminal emulators, you define custom color with RGB and HEX codes.
  • Using the automatic color detection feature, you manage the output level for different environments.
User reviews
  • ↑ PositiveHacker News

    If you put chalk under a powerful microscope

    “> But if the Radiolaria and Diatoms are thus rained upon the bottom of the sea, from the superficial layer of its waters in which they pass their lives, it is obviously possible that the Globigerinae may be similarly derived; and if they were so, it would be much more easy to…”

  • ↓ NegativeHacker News

    If you put chalk under a powerful microscope

    “Only shadowed by the fact that it was highly surprising, but yeah I'm not sure I'll use chalk ever again. I damn hate this kind of pictures.”

GitHub

Verified against README · Oct 26, 2026 · source

My note

More in: Terminal & CLI