Returns a url-safe slug for the given string. Note that by default it will preserve any capitalization in the given string.
A url-safe slug version of the string
slugify('Antoine de Saint-Exupéry')// 'Antoine-de-Saint-Exupery'
The string
Generated using TypeDoc
Returns a url-safe slug for the given string. Note that by default it will preserve any capitalization in the given string.
Returns
A url-safe slug version of the string
Example