Colorette Versions Save

🌈Easily set your terminal text color & styles

2.0.10

2 years ago
  • Avoid using function default parameters for a slight improvement in execution time.

2.0.9

2 years ago
  • Use global process directly to enhance package loading time.

2.0.8

2 years ago
  • Avoid mutating variables inside color functions when casting to a string.
  • Create color functions once, rather than on each call to createColors.

2.0.7

2 years ago
  • Reverted Rollup's --no-esModule and --interop settings (#73).

2.0.6

2 years ago
  • Make sure env exists (#67, #68).

2.0.5

2 years ago
  • Make sure tty exists (#64).

2.0.4

2 years ago
  • Configured Rollup to append the __esModule runtime to index.cjs.
  • Import process dependencies (#60).
  • Make sure isatty exists (#64).

2.0.3

2 years ago
  • Implemented auto-detection of color for top-level color functions (#70, #72).

2.0.2

2 years ago
  • Updated type declarations to mark createColors options as optional (#71).

2.0.1

2 years ago
  • Changed to not add ANSI escape sequences around "" (empty string) or undefined (#69).