Back to search
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Stars
171
Forks
12
Watchers
171
Open Issues
0
Overall repository health assessment
^6.4.1^1.2.334
commits
5
commits
2
commits
1
commits
1
commits
1
commits
1
commits
1
commits
1
commits
1
commits
Replace `strip-ansi` with native `stripVTControlCharacters` (#21)
799f8f6View on GitHubRequire Node.js 16 and improve length calculation (#17)
51aa68dView on GitHubRequire Node.js 12.20 and add an option to count ANSI escape codes (#16)
e681f7dView on GitHub