Skip to content

chore: remove strip-ansi dependency#73

Closed
dulmandakh wants to merge 1 commit intosindresorhus:mainfrom
dulmandakh:remove-strip-ansi
Closed

chore: remove strip-ansi dependency#73
dulmandakh wants to merge 1 commit intosindresorhus:mainfrom
dulmandakh:remove-strip-ansi

Conversation

@dulmandakh
Copy link

@dulmandakh dulmandakh commented Feb 21, 2026

strip-ansi has below note on its npm page. So this PR removes strip-ansi dependency to use node:util.

[!NOTE] Node.js has this built-in now with stripVTControlCharacters. The benefit of this package is consistent behavior across Node.js versions and faster improvements. The Node.js version is actually based on this package.

@sindresorhus
Copy link
Owner

There an open issue. It makes it clear why it's not done yet. #62

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants