rand-int

Generate a random integer

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
rand-int
1.0.08 years ago8 years agoMinified + gzip package size for rand-int in KB

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