kolorist

A tiny utility to colorize stdin/stdout

MIT License

Downloads
7.2M
Stars
270
Committers
9

Bot releases are visible (Hide)

kolorist - 1.8.0 - TrueColor support Latest Release

Published by marvinhagemeister over 1 year ago

Minor Changes

  • 737ef18: Add support for 24bit TrueColor detection.

    TrueColor is supported in every modern terminals these days. The exception to that is the built in Terminal app on macOS and CI systems. TrueColor values are automatically converted to Ansi 256 when TrueColor isn't supported. The only case where I found that in practice was with Terminal.app on macOS which only supports Ansi 256.

    This also fixes an issue when a terminal would declare support for TrueColor, but not Ansi 256. Previously, we'd completely strip colors when printing Ansi 256 despite that being supported. This release addresses that.

kolorist - 1.7.0

Published by marvinhagemeister over 1 year ago

What's Changed

New Contributors

Full Changelog: https://github.com/marvinhagemeister/kolorist/compare/v1.6.0...v1.7.0

kolorist - 1.6.0

Published by marvinhagemeister about 2 years ago

What's Changed

kolorist - 1.5.1

Published by marvinhagemeister almost 3 years ago

What's Changed

New Contributors

Full Changelog: https://github.com/marvinhagemeister/kolorist/compare/v1.5.0...v1.5.1

kolorist - 1.5.0

Published by marvinhagemeister over 3 years ago

Features

  • Check for CI variable during color detection (#9, thanks @marvinhagemeister)

Maintenance

  • Enable GitHub CI workflow (#10, thanks @marvinhagemeister)
  • Rename main master branch to main
kolorist - 1.4.1

Published by marvinhagemeister over 3 years ago

  • Fix unable to bundle with esbuild es5 (#8, thanks @marvinhagemeister)
kolorist - 1.4.0

Published by marvinhagemeister over 3 years ago

  • Feature: Allow forcing color with FORCE_COLOR=1 (#7, thanks @BenoitZugmeyer)
kolorist - 1.3.2

Published by marvinhagemeister over 3 years ago

  • Fix: optional chaining isn't compiled away by TS as I thought (#5, thanks @bjarkihall)
  • Always downtranspile to ES2019 for Node 12 support (thanks @marvinhagemeister)
kolorist - 1.3.1

Published by marvinhagemeister over 3 years ago

This fixes a regression introduced earlier today with 1.3.0.

  • Fix: runtime error if TERM is not defined in env (#4, thanks @bjarkihall)
kolorist - 1.2.2

Published by marvinhagemeister about 4 years ago

  • Fix ansi links not stripped by stripColors
kolorist - 1.2.3

Published by marvinhagemeister about 4 years ago

This release fixes a publishing error with 1.2.2.

kolorist - 1.2.1

Published by marvinhagemeister over 4 years ago

  • Fix Unexpected token: "export" error in node 14
kolorist - 1.2.0

Published by marvinhagemeister over 4 years ago

  • Add support for links via link(text, url)
kolorist - 1.1.0

Published by marvinhagemeister over 4 years ago

  • Add stripColors() function to remove colors from a string.
kolorist - 1.0.0

Published by marvinhagemeister over 4 years ago

Initial release