uniquegen
Version:
uniquegen is an package for Node.js projects, enabling the generation of random numbers and words. It offers flexibility and ease of use, making it a valuable tool for developers.
12 lines • 583 B
TypeScript
type num = number;
type str = string;
/**
* This TypeScript function generates a random string of specified length using letters from a to z.
* @param {num} length - The length parameter is a number that determines the length of the generated
* word. It is used to specify the number of rounds in the while loop that generates the random word.
* @returns a randomly generated string of characters with a length specified by the input parameter
* `length`.
*/
export default function GenerateWord(length: num, Words: str[]): str;
export {};
//# sourceMappingURL=WordGen.d.ts.map