1.0.0 • Published 8 years ago
rand-int v1.0.0
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
1.0.0
8 years ago