This is a simple NPM package for generating random numbers within a specified range. This package includes a dependency on lodash
for convenience.
You can install this package using npm:
npm install @demoniks/random-number-generator
Here is an example of how to use this package:
const RandomNumberGenerator = require('@demoniks/random-number-generator/randomNumberGenerator');
const generator = new RandomNumberGenerator(1, 100);
const randomNumber = generator.generate();
console.log(randomNumber);
This project is licensed under the MIT License.