Skip to main content

slugifyConverts a string into a slug for URL usage.### Parameters* string [string][1] to convert to slug### Examples```javascript

slugify('The quick brown fox'); // => 'the-quick-brown-fox'

slugify('A. more-Complicated string!..'); // => 'a-more-complicated-string'

slugify('wïth speciäl chærs'); // => 'with-special-chars'



* Source: [slugify.ts](https://github.com/iamdevlinph/common-utils-pkg/blob/main/src/slugify/slugify.ts#L21-L39)