🌈Easily set your terminal text color & styles
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
.isTTY
check (#63).FORCE_COLOR
bug (#41).
FORCE_COLOR=0
does not disable color; use NO_COLOR
to disable color.NO_COLOR
variable standard (0d5ec8160e09f795928471452c6fe19d65b0dcb9).Colorette started out in 2015 as a lightweight alternative to Chalk. It was originally introduced as Clor (b01b5b9961ceb7df).