JSPM

random-integer-in-range

1.0.3
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q19889F
  • License ISC

Generates a random Integer between a desired range

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


Coverage Status

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 10

Tests

npm test