1.0.2 • Published 4 years ago
random_digits v1.0.2
Randomr_
A unique random number generator of any digit
Installation
Run npm i random_digits
Use:
import randomr_ from 'random_digits'
randomr_(6) // ^ 6 digit random number
Parameters
The random number generator takes one argument which is the length of the number to be generated.
If you want to generate random 6 digit, then use 6 as an argument to call the function.
The default number of digit is 10