Package Exports
- just-random-integer
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 (just-random-integer) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
just-random
Part of a library of zero-dependency npm modules that do just do one thing. Guilt-free utilities for every occasion.
import random from 'just-random';
random();
// Produces a random number between 0 and 1
random(5);
// Produces a random number between 0 and 5
random(5, 10);
// Produces a random number between 5 and 10