colorette

🌈Easily set your terminal text color & styles

MIT License

Downloads
129.3M
Stars
1.6K
Committers
17

Bot releases are hidden (Show)

colorette - 2.0.20 Latest Release

Published by foldmap over 1 year ago

  • Enhance package.json by including type definitions in exports (#96). Thanks, @ahnpnl.
colorette - 2.0.19

Published by foldmap over 2 years ago

  • Handle undefined env, argv, and platform (#94).
colorette - 2.0.18

Published by foldmap over 2 years ago

  • Fix Vite support by @kibertoad (#92).
  • Destructure process into constants (#93).
colorette - 2.0.17

Published by foldmap over 2 years ago

  • Color functions should always return a string (#88).
  • Fix detection of dumb terminals on Windows (#91). Thank you, @MartinKolarik! 🙌
colorette - 2.0.16

Published by foldmap over 2 years ago

  • Doc tweaks, add 🌈.
  • Format benchmark results.
colorette - 2.0.15

Published by foldmap about 3 years ago

  • Pre-compute index start search position.
colorette - 2.0.14

Published by foldmap about 3 years ago

  • Clear bleeding sequences via string slicing, rather than by using regexes (#84).
    • Adapted from a similar technique used by @alexeyraspopov in picocolors. 🙌
  • Add tests for Node 10, which we still officially support (#83).
colorette - 2.0.12

Published by foldmap about 3 years ago

  • Reverse conditional expression (#78).
colorette - 2.0.13

Published by foldmap about 3 years ago

  • Add --color and --no-color flag support (#77).
colorette - 2.0.11

Published by foldmap about 3 years ago

  • Avoid explicitly checking for undefined.
colorette - 2.0.10

Published by foldmap about 3 years ago

  • Don't use function default parameters for a small execution time improvement.
colorette - 2.0.9

Published by foldmap about 3 years ago

  • Use global process directly to improve package loading time.
colorette - 2.0.8

Published by foldmap about 3 years ago

  • Don't mutate variables inside color functions when casting to a string.
  • Create color functions once, not on each call to createColors.
colorette - 2.0.7

Published by foldmap about 3 years ago

  • Revert Rollup's --no-esModule and --interop (#73).
colorette - 2.0.6

Published by foldmap about 3 years ago

  • Make sure env exists (#67, #68).
colorette - 2.0.5

Published by foldmap about 3 years ago

  • Make sure tty exists (#64).
colorette - 2.0.4

Published by foldmap about 3 years ago

  • Let Rollup add the __esModule runtime to index.cjs.
  • Import process dependencies (#60).
  • Make sure isatty exists (#64).
colorette - 2.0.3

Published by foldmap about 3 years ago

  • Auto-detect color for top-level color functions (#70, #72).
colorette - 2.0.2

Published by foldmap about 3 years ago

  • Declare createColors's options optional in type declarations (#71).
colorette - 2.0.1

Published by foldmap about 3 years ago

  • Don't add ANSI escape sequences around "" or undefined (#69).