npm / strip-ansi
strip-ansi
What changed in strip-ansi 6 to 7, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.
4 breaking1 performance
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli initstrip-ansi 73 changes
Breaking changes 2
Node.js 12 is now required to use this package.
The package is now pure ESM, changing how developers import it.
Performance 1
Adds a fast path for strings without ANSI codes, improving performance.
strip-ansi 62 changes
Breaking changes 2
Node.js 8 is now required to run strip-ansi.
TypeScript users must use the CommonJS import assignment instead of a default import.