ConverterConfiguration
Defined in: src/converter.ts:137 (opens in a new tab)
Immutable configuration used to create an isolated converter.
Extends
Section titled “Extends”Properties
Section titled “Properties”aliases?
Section titled “aliases?”
optionalaliases?: readonlyCharacterAliasDefinition[]
Defined in: src/converter.ts:152 (opens in a new tab)
Additional spellings of built-in semantic letters.
characters?
Section titled “characters?”
optionalcharacters?: readonlyCustomCharacterDefinition[]
Defined in: src/converter.ts:154 (opens in a new tab)
Opaque characters converted only through their declared direct forms.
exclude?
Section titled “exclude?”
optionalexclude?: readonlystring[]
Defined in: src/converter.ts:133 (opens in a new tab)
Characters removed after the allow-list is resolved.
Inherited from
Section titled “Inherited from”CharacterRepertoireDefinition.exclude
outOfScopeBehavior?
Section titled “outOfScopeBehavior?”
optionaloutOfScopeBehavior?:ConverterOutOfScopeBehavior
Defined in: src/converter.ts:150 (opens in a new tab)
Preserves unsupported recognized input by default or rejects the
conversion. A preserved letter is written as the source writes it in its
word: of the conversion’s options, only text changes it, as it changes
the whole text.
preset?
Section titled “preset?”
optionalpreset?:Preset
Defined in: src/converter.ts:143 (opens in a new tab)
Preset options and audited built-in scope bound to every conversion. The
preset writes the output, and reads the input unless source describes
it.
repertoire?
Section titled “repertoire?”
optionalrepertoire?: readonlystring[]
Defined in: src/converter.ts:131 (opens in a new tab)
Exact allow-list. Omitting it enables every registered character.