Interfaces · @purista/cli
Options
Options used for converting strings to any case.
Signature
interface OptionsProperties
6 entries
delimiter
Property
delimiter: stringDelimiter inserted between normalized words for delimiter-based cases.
locale
Property
locale: LocaleLocale passed to `String.prototype.toLocaleLowerCase` and `toLocaleUpperCase`.
prefixCharacters
Property
prefixCharacters: stringCharacters preserved at the beginning of the converted value.
separateNumbers
Property
separateNumbers: booleanEnables legacy number splitting during word normalization.
split
Property
split: (value: string) => string[]Custom word splitter used before applying the requested case conversion.
suffixCharacters
Property
suffixCharacters: stringCharacters preserved at the end of the converted value.