Interface Options

interface Options {
    map: ((char: string) => string);
    separator: string;
}

Properties

Properties

map: ((char: string) => string)

Maps the replaced characters with a string within alphabet -otherwise an empty string. Defaults to replacing characters for ASCII equivalent, if in alphabet.

separator: string

String that separates the processed original string from the payload. It must not be in alphabet. Default: '.'