Interfaces · @purista/cli

PascalCaseOptions

Options used for converting strings to pascal/camel case.

Signature

PascalCaseOptions.tstypescript
interface PascalCaseOptions

Properties

7 entries

delimiter

Property

Source
delimiter.tstypescript
delimiter: string

Delimiter inserted between normalized words for delimiter-based cases.

locale

Property

Source
locale.tstypescript
locale: Locale

Locale passed to `String.prototype.toLocaleLowerCase` and `toLocaleUpperCase`.

mergeAmbiguousCharacters

Property

Source
mergeAmbiguousCharacters.tstypescript
mergeAmbiguousCharacters: boolean

Merge ambiguous characters before applying PascalCase conversion.

prefixCharacters

Property

Source
prefixCharacters.tstypescript
prefixCharacters: string

Characters preserved at the beginning of the converted value.

separateNumbers

Property

Source
separateNumbers.tstypescript
separateNumbers: boolean

Enables legacy number splitting during word normalization.

split

Property

Source
split.tstypescript
split: (value: string) => string[]

Custom word splitter used before applying the requested case conversion.

suffixCharacters

Property

Source
suffixCharacters.tstypescript
suffixCharacters: string

Characters preserved at the end of the converted value.