Optional
options: { Optional
deduplicate?: booleandeduplicate successives replace
char (default=true)
Optional
lower?: booleanconvert the string to lowercase (default=true).
Optional
replace?: stringthe string to replace non-alphanumeric characters with (default='-').
Optional
trim?: booleantrim leading/trailing whitespace (default=true).
converts a string into a slug