supergeneric
Version:
Supergeneric JS helper functions... formatters, math functions, sort functions, etc.
14 lines (13 loc) • 402 B
TypeScript
export type GenerateHashOptions = {
ambiguous?: boolean;
lower?: boolean | string;
upper?: boolean | string;
numeric?: boolean | string;
alpha?: boolean | string;
symbols?: boolean | string;
startWithLetter?: boolean;
all?: string;
only?: string;
prefix?: string;
};
export declare const generateHash: (length?: number, options?: GenerateHashOptions) => string;