Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#155·color

Support for `FORCE_COLOR`

Author: cardilCreated Jan 26, 2022Updated Sep 3, 2024

It would be a good idea to apart from supporting NO_COLOR to support easy forcing of color output.

The FORCE_COLOR environmental variable is less spread across industry, but still is used in a couple of libraries, i.e. https://github.com/chalk/chalk#supportscolor

Source: fatih/color

View original on GitHubView discussion on GitHub