# random-number-in-range

> returns a random number between min and max values supplied

Latest version **1.0.2** (published 2017-06-29) · Apache2 license · 0 weekly downloads

## Install

```sh
npm install random-number-in-range
pnpm add random-number-in-range
yarn add random-number-in-range
bun add random-number-in-range
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2017-06-29 |
| First published | 2014-11-16 |
| Weekly downloads | 0 |
| License | Apache2 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Brian LeRoux |
| Maintainers | brianleroux |

## Links

- npm: https://www.npmjs.com/package/random-number-in-range
- Repository: https://github.com/brianleroux/random-number-in-range
- Homepage: https://github.com/brianleroux/random-number-in-range#readme
- Issues: https://github.com/brianleroux/random-number-in-range/issues
- npm.io page: https://npm.io/package/random-number-in-range

## Recent versions

- 1.0.2 (latest) — 2017-06-29
- 1.0.0 — 2014-11-16

## README

# random-number-in-range

Returns a random number between min (inclusive) and max (exclusive).

# Install

    npm i random-number-in-range

# Usage

    var rando = require('random-number-in-range')
    
    console.log(rando(1, 10)) // returns a number between 1 and 10
    console.log(rando(1))     // returns a number between 1 and 100
    console.log(rando())      // returns a number between 0 and 100

---
_Source: https://npm.io/package/random-number-in-range · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
