rng-randomnumbergenerator
v0.0.4
Published
A simple package that generates a random number with 2 functions
Downloads
13
Maintainers
Readme
rng-randomnumbergenerator
Usage
const rng = require('rng-randomnumbergenerator')
let Number1 = rng.generateRandomNumber(100)
let Number2 = rng.generateRandomNumberLimit(1, 150)
let RandomForArray = ["I", "am", "Here"]
let RandomFromArray3 = rng.randomFromArray(RandomForArray) // The "RandomForArray" must be an array.
console.log(Number1)
console.log(Number2)
console.log(RandomFromArray3)
})