sgb004-random
v1.0.1
Published
Generate a random number between two numbers.
Downloads
3
Readme
Random
This is a simple random number generator that allows you to generate a random number within a specified range.
Installation
To install the Random
you can use npm:
npm i sgb004-random
Usage
Import the random
function into your project and use it to generate random numbers.
import random from 'sgb004-random';
const min = 0;
const max = 100;
const randomNumber = random(min, max);
console.log(`Random number between ${min} and ${max}: ${randomNumber}`);
Author
License
MIT