Run npm i gopi-random-number-generator
Use:
import rng from 'gopi-random-generator';
rng(3,13);
The Random Number Generator is a generator that generates random numbers. Its accepts two parameters, min and max values.
By default min
is set 0 and max
is set to 100.