ansis
4.5.0 · 1 Nov 2026ISC56.7M / weekRepositoryHomepagenpmAtom feed
Upgrading ansis From 1.4.0 to 1.5.6
7 releases in betweenevery note read
Other targets from 1.4.0Latest4.5.0
- 1
- change to make
- 0
- advisories fixed
- 7
- new
- 7
- fixes
Before you upgrade
Tick each one off as you go- deprecated1.5.0
Release by release
1.5.6nothing new or fixed in the note
- new
Added support for nested template literal syntax:
- new
Added named export of colors with support for chained syntax:
- new
Added extending of base colors with named custom truecolor:
- new
Added the
strip()method to remove all ANSI codes from string
- new
- fixed
Visible style with nested template strings
- fixed
- fixed
Set correct aliases for bgAnsi and fg methods by named export
- fixed
- fixed
Regard the value of the environment variable FORCE_COLOR=0 to force disable colors
- fixed
- fixed
Add missing export for CJS mode in package.json
- fixed
- deprecated
DEPRECATE v1.5.0, because missing exports main for CJS mode, fixed in v1.5.1
- deprecated
11 internal lines (docs, tests, tooling) left out.