ansis
4.5.0 · 1 Nov 2026ISC56.7M / weekRepositoryHomepagenpmAtom feed
Upgrading ansis From 3.7.0 to 3.17.0
10 releases in betweenevery note read
Release by release
3.16.0 – 3.17.02 releases, nothing new or fixed in the notes
- new
Reduce the package size by ~200 bytes.
- new
- new
Added support for chromium-based browsers.\ Now you can use truecolor in the consoles of Chrome, Edge, Opera, Brave, Vivaldi and other Chromium-based browsers. Browsers that do not support ANSI codes will display black and white text.
- new
Added support for
\nas a newline in template literals, e.g.:green`Hello\nWorld`renders: - new
Function
ansis.reset()returns the reset escape code\e[0m. - new
Removed undocumented pointless dummy function
ansis(any).
- new
- new
Add support for
\nas a newline in template literals, e.g.:green`Hello\nWorld`renders:
- new
- new
Add support for legacy Node.js v14 (in package.json for npm was changed the
enginesto"node": ">=14")
- new
- new
ansis.reset()returns the reset escape code\e[0m - new
Micro optimisations for slight performance improvements
- new
- new
Revert handling of
nullandundefinedvalues to empty string as beforev3.7.0, #25
- new
3.8.1nothing new or fixed in the note
14 internal lines (docs, tests, tooling) left out.