NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #582 most downloaded on npm
🌈Easily set your terminal text color & styles.
Last release 3 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 11 months
Most releases are documented
notes for 28 of 37 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
37 releases · first in 2018
Improved package.json by adding type definitions to exports by @ahnpnl ( #96 ).
Handle undefined env , argv , and platform ( #94 ).
env, argv, and platform (#94).One column per quarter.
Fixed Vite support by @kibertoad ( #92 ).
process into constants (#93).Color functions should always return a string ( #88 ).
Added 🌈. Formatted benchmark results.
Pre-compute index start search position.
Clear bleeding sequences by using string slicing instead of regular expressions ( #84 ).
Added --color and --no-color flag support ( #77 ).
--color and --no-color flag support (#77).Reverse conditional expression ( #78 ).
Avoid explicit checks for undefined .
undefined.
Avoid using function default parameters for a slight improvement in execution time.
Use global process directly to enhance package loading time.
process directly to enhance package loading time.Avoid mutating variables inside color functions when casting to a string.
createColors.Reverted Rollup's --no-esModule and --interop settings (#73).
--no-esModule and --interop settings (#73).Make sure env exists (#67, #68).
env exists (#67, #68).- Make sure tty exists (#64).
tty exists (#64).Configured Rollup to append the __esModule runtime to index.cjs.
__esModule runtime to index.cjs.process dependencies (#60).isatty exists (#64).Implemented auto-detection of color for top-level color functions (#70, #72).
Updated type declarations to mark createColors options as optional (#71).
createColors options as optional (#71).Changed to not add ANSI escape sequences around "" (empty string) or undefined (#69).
"" (empty string) or undefined (#69).Introduced a new API to allow instance reuse (#42):
createColors function that returns an object with all available color functions.
useColor boolean property.isColorSupported property, which is true if the terminal supports color, and false otherwise.options.enabled.Implemented a more robust `isTTY` check (#63).
isTTY check (#63).Improved CI environment color support check (#61, #62).
- Upgraded dependencies (#57). - Migrated tests to Twist.
Added support for ES modules (#44, #45).
FORCE_COLOR=0 does not disable color; use NO_COLOR to disable color.
FORCE_COLOR bug (#41).
FORCE_COLOR=0 does not disable color; use NO_COLOR to disable color.Revamped documentation (fcacd2359aea2ae12a6f93a29d59517768f9962f, 068031a8562353a30d53badb9d1e17771dd318c8).
NO_COLOR variable standard (0d5ec8160e09f795928471452c6fe19d65b0dcb9).Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Colorette started out in 2015 as a lightweight alternative to Chalk. It was originally introduced as Clor (b01b5b9961ceb7df).
Colorette started out in 2015 as a lightweight alternative to Chalk. It was originally introduced as Clor (b01b5b9961ceb7df).
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →