sushain-random-number
v1.0.5
Published
Package to generate a Random Number
Downloads
9
Maintainers
Readme
sushain-random-number
This Package returns a Random Number.
Installation
$ npm i sushain-random-number
Usage
const getRandom = require('sushain-random-number')
Can directly call getRandom() // Will return 10 digit Random Number.
Can define range e.g. getRandom(1,10000) // Will return number between defined range.
If single digit is entered e.g. getRandom(5) // Will return 5 digit Number