arun_random_number_generator
v1.0.2
Published
Random number generator for using OTP Text
Downloads
1
Maintainers
Readme
Random Number Generator (6 Digits)
Generating a random six-digit number using JavaScript
Installation
Run:
npm i arun_random_number_generator
Use:
import rng from 'arun_random_number_generator';
rng(100100, 800000)
Parameter:
The Random Number Generator accepts two parameters, min and max values.
By default min
is set to 100000 and max
is set to 999999.