jsfast
Version:
Fastjs(jsfast) is a useful, lightweight JavaScript library for any types of project.
12 lines (11 loc) • 389 B
TypeScript
export declare function rand(min: number, max: number, decimal?: number): number;
export interface RandStringOptions {
max: number;
number: boolean;
letter: boolean;
upper: boolean;
lower: boolean;
custom: string | string[];
}
export declare function randString(length: number, options?: Partial<RandStringOptions>): string;
export declare function uuid(): string;