Skip to content

Commit

Permalink
Mention Node.js built-in API
Browse files Browse the repository at this point in the history
Fixes #53
  • Loading branch information
sindresorhus committed Jan 19, 2025
1 parent dc06e4d commit 4250e5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

> Strip [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) from a string
> [!NOTE]
> Node.js has this built-in now with [`stripVTControlCharacters`](https://nodejs.org/api/util.html#utilstripvtcontrolcharactersstr). 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.
## Install

```sh
Expand Down

0 comments on commit 4250e5d

Please sign in to comment.