Sindresorhus Slugify Versions Save

Slugify a string

v2.2.1

1 year ago
  • Improve compatibility with partial strings

https://github.com/sindresorhus/slugify/compare/v2.2.0...v2.2.1

v2.2.0

1 year ago
  • Add preserveCharacters option (#70) f235b34
  • Remove contractions and possessives (#71) 48a9112

https://github.com/sindresorhus/slugify/compare/v2.1.1...v2.2.0

v2.1.1

1 year ago
  • Fix handling of plural acronyms (#69) 1aaea23

https://github.com/sindresorhus/slugify/compare/v2.1.0...v2.1.1

v2.0.0

3 years ago

Breaking

  • Require Node.js 12 12498c9
  • This package is now pure ESM. Please read this.
  • slugify.counter moved to a named export slugifyWithCounter

https://github.com/sindresorhus/slugify/compare/v1.1.0...v2.0.0

v1.1.0

3 years ago
  • Add support for empty separator (#53) d7bf7cc

https://github.com/sindresorhus/slugify/compare/v1.0.0...v1.1.0

v1.0.0

4 years ago

Breaking

  • Slightly change how camel-cased words are slugified (#45) 1be97b4

Improvements

  • Add counter for multiple occurences (#46) 9e1ec95

https://github.com/sindresorhus/slugify/compare/v0.11.0...v1.0.0

v0.10.1

4 years ago
  • Add leading underscore option (#43) 9a78d8f

https://github.com/sindresorhus/slugify/compare/v0.10.0...v0.10.1

v0.10.0

4 years ago

Breaking

  • Require Node.js 10 a67fb07

Breaking for TypeScript users

  • Only use a CommonJS export for the TypeScript definition 4835efa
    • You need to change import slugify from 'slugify'; to import slugify = require('slugify');

Enhancements

  • Correctly handle capitalized words (#36) 9122e57
  • Add Armenian characters (#29) 5220d93

https://github.com/sindresorhus/slugify/compare/v0.9.1...v0.10.0