NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #841 most downloaded on npm
Get the real length of a string - by correctly counting astral symbols and ignoring ansi escape codes
Latest stable
7.0.1
Last release 10 months ago
21 Jan 2026
Release timing varies
gaps range from 2 weeks to 2.6 years
Most releases are documented
notes for 10 of 16 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
16 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
Fix browser compatibility ae4be7f
https://github.com/sindresorhus/string-length/compare/v7.0.0...v7.0.1
Replace strip-ansi with native stripVTControlCharacters (#21) 799f8f6
strip-ansi with native stripVTControlCharacters (#21) 799f8f6https://github.com/sindresorhus/string-length/compare/v6.0.0...v7.0.0
Require Node.js 16 (#17) 51aa68d
https://github.com/sindresorhus/string-length/compare/v5.0.1...v6.0.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
https://github.com/sindresorhus/string-length/compare/v5.0.0...v5.0.1
https://github.com/sindresorhus/string-length/compare/v5.0.0...v5.0.1
Require Node.js 12.20 (#16) e681f7d
https://github.com/sindresorhus/string-length/compare/v4.0.2...v5.0.0
Correctly handle zero-length ANSI string (#15) 32de93a
https://github.com/sindresorhus/string-length/compare/v4.0.1...v4.0.2
Handle empty strings (#8) cb19fd4
https://github.com/sindresorhus/string-length/compare/v4.0.0...v4.0.1
Fix character matching for emoji (#7) 6c47986
https://github.com/sindresorhus/string-length/compare/v3.1.0...v4.0.0
Refactor TypeScript definition to CommonJS compatible export (#6) 8b906fc
https://github.com/sindresorhus/string-length/compare/v3.0.0...v3.1.0
Add TypeScript definition (#4) da4458c
Breaking:
Enhancements:
https://github.com/sindresorhus/string-length/compare/v2.0.0...v3.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.