- Refactored project as TypeScript
- Fixed missing dev dependency rollup
- Normalize dashes to ASCII hyphen-minus #4
- Upgraded dependencies
- migrated CI to nano-staged and uvu
- added engines field (should support node.js 14, 16 and 17. node.js 12 was never supported and failed testing. This should not be a breaking change)
- Added
forceSingleSpace
option tonormalizeSymbols
,latinize
andslugify
- Added
replaceWhiteSpace
option tonormalizeSymbols
andlatinize
- Rewrote types to use merged interfaces for
latinize
- Added dual-publishing
- New API:
- sanitize => latinize:
- diacritic option removed
- new trim option (off by default!)
- new separate function
removeDiacritics
for simple removal of diacritics (with lowerCase option, off by default) - new separate function
normalizeSymbols
for handling only symbols (with trim option, on by default)
- sanitize => latinize:
- added corepack config and updated publish configs
- Added docs for previous release
- Added lowerCase option to sanitize
- Refactored slugify to use new lowerCase option
- Added options to
sanitize
- rewrote testing for
sanitize
- Initial Release