npm / @sindresorhus/slugify
@sindresorhus/slugify
What changed in @sindresorhus/slugify 1 to 3, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-27.
5 breaking3 new APIs and options3 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@sindresorhus/slugify 36 changes
Breaking changes 1
Node.js 20 is now required to use the package.
New APIs and options 2
Adds the locale option.
Adds the transliterate option.
Fixes and other changes 3
Fixes slugifyWithCounter() returning the same slug twice.
Fixes handling of contractions and possessives followed by punctuation.
Fixes decamelization of acronyms followed by a word whose second letter is
s.
@sindresorhus/slugify 23 changes
Breaking changes 3
Node.js 12 is now required to use the package.
The package is now pure ESM, changing how developers import it.
The counter functionality moved from slugify.counter to the named export slugifyWithCounter.
@sindresorhus/slugify 12 changes
Breaking changes 1
Slugification of camel-cased words changes, which may alter generated slugs.
New APIs and options 1
Adds a counter for multiple occurrences.