@mavenjs/maven-rng
v1.0.2
Published
"Random number generator package."
Downloads
1
Readme
What is this?
A simple random number generator.
Installation
Run npm i @mavenjs/nm-rng
Usage
Use:
import randomNumberGenerator from '@mavenjs/nm-rng'
randomNumberGenerator(3, 15)
Parameters
The random number generator accepts two parameters, min
and max values
.
By default, min
is set to 0
and max
is set to 100
.