random-number-generator-by-nikhil

1.0.4 • Public • Published

random-number-generator-by-nikhil

This module will generate a random number between any two numbers.

install

npm install random-number-generator-by-nikhil

usage

//NodeJS
const random = require("random-number-generator-by-nikhil");
console.log(random.randomNoGenerator(1, 5)); // generate random integer between 1 and 5
 
//Browser
import { randomNoGenerator } from "random-number-generator-by-nikhil";
console.log(randomNoGenerator(1, 5)); // generate random integer between 1 and 5

Package Sidebar

Install

npm i random-number-generator-by-nikhil

Weekly Downloads

0

Version

1.0.4

License

ISC

Unpacked Size

2.06 kB

Total Files

3

Last publish

Collaborators

  • nikhil.kumar.behera