UNPKG

@davekinkead/reloc

Version:

A a zero dependency library for converting auto incrementing integers into reversable, deterministic, hard-to-guess, short IDs

9 lines (8 loc) 299 B
/** * An options object for functions in the core.js library */ export type Options = { dictionary: string; // all the characters for the target encoding length: number; // minimum length for the encoded UID key: string; // a secret key for unique encoding (generated) }