Interface ShortUniqueIdOptions

{
dictionary: ['z', 'a', 'p', 'h', 'o', 'd', ...],
shuffle: false,
debug: false,
length: 6,
}

interface ShortUniqueIdOptions {
    counter: number;
    debug: boolean;
    dictionary: string[] | ShortUniqueIdDefaultDictionaries;
    length: number;
    shuffle: boolean;
}

Properties

counter: number

From 0 to infinity, the current value for the sequential UUID counter

debug: boolean

If true the instance will console.log useful info

dictionary: string[] | ShortUniqueIdDefaultDictionaries

User-defined character dictionary

length: number

From 1 to infinity, the length you wish your UUID to be

shuffle: boolean

If true, sequentialUUID use the dictionary in the given order