Colorette Versions Save

🌈Easily set your terminal text color & styles

2.0.0

2 years ago
  • Introduced a new API to allow instance reuse (#42):
    • Added a createColors function that returns an object with all available color functions.
      • Color support is automatically detected, but it can be overridden via the useColor boolean property.
    • Introduced a new isColorSupported property, which is true if the terminal supports color, and false otherwise.
    • Removed options.enabled.

1.4.0

2 years ago
  • Implemented a more robust isTTY check (#63).

1.3.0

2 years ago
  • Improved CI environment color support check (#61, #62).

1.2.2

3 years ago
  • Upgraded dependencies (#57).
  • Migrated tests to Twist.

1.2.1

3 years ago
  • Added support for ES modules (#44, #45).
  • Switched to c8 for code coverage.

1.2.0

4 years ago
  • Fixed FORCE_COLOR bug (#41).
    • FORCE_COLOR=0 does not disable color; use NO_COLOR to disable color.

1.1.0

4 years ago
  • Revamped documentation (fcacd2359aea2ae12a6f93a29d59517768f9962f, 068031a8562353a30d53badb9d1e17771dd318c8).
  • Added support for the NO_COLOR variable standard (0d5ec8160e09f795928471452c6fe19d65b0dcb9).

1.0.0

5 years ago

Colorette started out in 2015 as a lightweight alternative to Chalk. It was originally introduced as Clor (b01b5b9961ceb7df).