npm / humanize-string
humanize-string
What changed in humanize-string 4, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-21.
2 breaking1 performance6 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inithumanize-string 49 changes
Breaking changes 2
Node.js 22 is now required to use the package.
Any whitespace is normalized to a single space instead of retaining non-space whitespace characters.
Performance 1
Performance is improved.
Fixes and other changes 6
A first digraph letter is now uppercased to the correct form.
A first letter that expands to several letters is now uppercased correctly.
A first Georgian letter is no longer changed to an incorrect titlecase form.
A first Greek letter with an iota subscript is now titlecased correctly.
A first letter outside the basic multilingual plane is now uppercased correctly.
Splitting now handles decomposed accents and plural acronyms correctly.