@demoniks/random-number-generator
v1.0.0
Published
A simple NPM package for generating random numbers within a specified range
Downloads
3
Readme
@demoniks/random-number-generator
This is a simple NPM package for generating random numbers within a specified range. This package includes a dependency on lodash
for convenience.
Installation
You can install this package using npm:
npm install @demoniks/random-number-generator
Usage
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);
License
This project is licensed under the MIT License.