Packages

ansis

4.5.0 · 1 Nov 2026ISC56.7M / weekRepositoryHomepagenpmAtom feed

Your version

3.7.0

7 Jan 2025Where it was published

3.17.0 is the newest release of 3.x.

In short

2 fixed1 internal

Release note

  • Cast falsy values false, null, undefined, NaN to a string.
    In previous versions, the empty string '' was returned for falsy values.

  • Functions with argument 0 , e.g. ansis.red(0), returning empty string '', now return colored value '0'