NPM random number school project.
Run "npm install school-proj-npm-rdm-no" to install your package.
const rdmNr = require("school-proj-npm-rdm-no");
const lowest = 1;
const highest = 10;
const randomNum = rdmNr(lowest, highest);
console.log(randomNum); // Output: Random number between 1 and 10 (inclusive)
You can use this function by providing the lowest and highest values as arguments.