Package Exports
- random-integer-in-range
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (random-integer-in-range) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
random-integer-in-range
A tiny library to generate an integer in a given range (inclusive).
Installation
npm install random-intenger-in-range
Usage
var randomIntegerInRange = require('./index');
var random = randomIntegerInRange(1, 10);
// random will be a number in between 1 and 10Tests
npm test