rand-int
v1.0.0
Published
Generate a random integer
Downloads
484
Readme
rand-int
Generate a random integer
Install
$ npm install --save rand-int
Usage
let randomInteger = require('rand-int')
randomInteger(10)
// returns 6
randomInteger(5, 20)
// returns 18