UNPKG

@altostra/core

Version:

Core library for shared types and logic

23 lines (22 loc) 862 B
import { Bootstring } from "../Bootstring"; import { FullyMappedAlphabet, PartiallyMappedAlphabet } from "../MappedAlphabet"; import { SimpleNthBase } from "../SimpleNthBase"; export declare const delimiter = "X"; /** * An alphabet containing only alphanumeric characters */ export declare const alphaNumericAlphabet: FullyMappedAlphabet; /** * An alphabet containing all unicode characters, but where the alphanumeric are first * (it begins with the `alphaNumericAlphabet` alphabet) */ export declare const remappedUnicode: PartiallyMappedAlphabet; /** * A base using 61 digits - that is all the alphanumeric but the delimiter `'X'` */ export declare const base61: SimpleNthBase; /** * An encoder/decoders that encodes string using only alphanumeric characters */ export declare const strictAlphaNumeric: Bootstring; export default strictAlphaNumeric;