UNPKG

rword

Version:

A cryptographically secure random generator for real English words. Contains 370,000 words.

11 lines (10 loc) 268 B
export declare class Rword { private generations; private seedChars; private words; constructor(words: string[], seed?: string); generate(length?: number): string[]; getWords(): string[]; shuffle(): void; load(words: string[]): void; }