API Reference / @dasch-ng/web-utils / SlugOptions
Interface: SlugOptions
Defined in: slug.ts:1
Properties
expandUmlauts?
optionalexpandUmlauts?:boolean
Defined in: slug.ts:7
Write German umlauts and ß out (ü → ue) instead of dropping the accent. Default true.
fallback?
optionalfallback?:string
Defined in: slug.ts:5
Used when the value has no Latin letters or digits, reduced the same way. Default ''.
maxLength?
optionalmaxLength?:number
Defined in: slug.ts:3
Maximum length; longer slugs are cut at a word boundary. Default 80.