uniqrandom

1.1.3 • Public • Published

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 ]; 

Readme

Keywords

none

Package Sidebar

Install

npm i uniqrandom

Weekly Downloads

5

Version

1.1.3

License

ISC

Unpacked Size

1.24 kB

Total Files

3

Last publish

Collaborators

  • hariharanarumugam