uniqrandom
v1.1.3
Published
generates random number and array
Downloads
6
Readme
getRandom
var getRandom = require('generateRandom');
Generate a random number between two given ranges both included
console.log(getRandom(10,20));
output: 13
Generate a array with random numbers between two given ranges of given length
console.log(getRandom(30,40,5));
output: [ 33, 31, 39, 36, 34 ];