npm / humanize-duration
humanize-duration
What changed in humanize-duration 3, from its official release notes, upgrade guides and advisories. Also covers @types/humanize-duration. Sources checked 2026-10-27.
2 new APIs and options4 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli inithumanize-duration 36 changes
New APIs and options 2
Adds Azerbaijani language support.
Norwegian Nynorsk is now supported.
Fixes and other changes 4
Fixes pluralization when using maxDecimalPoints.
Arabic and other languages using digitReplacements better handle large numbers.
Lithuanian now uses the singular form for counts such as 101 and 201.
Romanian now uses "de" before nouns for numbers 20 and greater, producing wording such as "20 de minute".