Generates a slug from the input string by replacing accented
characters with their basic Latin equivalents, replacing whitespaces
with underscores and splitting words when capitalization changes.
Example
Region.toSlug("Río Grande") // rio-grande Region.toSlug("DeSoto County") // de-soto-county
Parameters
name: string
Returns string
StaticurlJoin
urlJoin(...urlParts: string[]): string
Join URL paths, de-duplicating slash where needed.
Generates a slug from the input string by replacing accented characters with their basic Latin equivalents, replacing whitespaces with underscores and splitting words when capitalization changes.
Example