npm

Share private packages across your team with npm Orgs, now with simplified billing via the aws marketplace!Learn more »

rand-int

1.0.0 • Public • Published

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

install

npm i rand-int

Downloadsweekly downloads

12

version

1.0.0

license

MIT

last publish

collaborators

  • avatar
Report a vulnerability