Packages

ansis

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

Your version

4.1.0

28 May 2025Where it was published

4.5.0 is the newest release of 4.x.

In short

4 new

Release note

Features

  • Added readonly level property to get the detected color support level:

    • 0 - no colors,

    • 1 - 16 colors,

    • 2 - 256 colors,

    • 3 - truecolor.

    Access to detected color level:

    console.log('Detected color level: ', ansis.level);