UNPKG

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 649 B
type num = number; /** * The function generates a random ID of a specified length using an array of numbers and the * Math.random() method. * @param {num} length - The length parameter is a number that determines the length of the generated * ID. It is used to specify the number of rounds the while loop should run to generate the random ID. * The value of this parameter is passed as an argument to the GenerateID function when it is called. * @returns a randomly generated 10-digit number ID as a number data type. */ export default function GenerateNumber(length: num, Numbers: num[]): num; export {}; //# sourceMappingURL=NumGen.d.ts.map