Packages

ansis

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

Your version

3.6.0

4 Jan 2025Where it was published

3.17.0 is the newest release of 3.x.

In short

1 new1 internal

Release note

  • Remove undocumented pointless dummy function ansis(any)

Warning

This is not a BREAKING CHANGE because it was never officially documented!

import ansis from 'ansis';  
ansis('text'); // <= now will occur the ERROR TS2349: This expression is not callable.  

This warning applies only to projects where Chalk was replaced with Ansis and something like chalk('text') was used.

Just replace ansis('text') with 'text'.

The ansis('text') function was a dummy and did nothing except return the same input string.