# random-await

> Get random numbers based on your settings.

Latest version **1.0.3** (published 2018-11-05) · ISC license · 0 weekly downloads

## Install

```sh
npm install random-await
pnpm add random-await
yarn add random-await
bun add random-await
```

## 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.3 |
| Published | 2018-11-05 |
| First published | 2018-11-01 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | enci33 |
| Maintainers | enci33 |
| Keywords | random |

## Links

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

## Recent versions

- 1.0.3 (latest) — 2018-11-05
- 1.0.2 — 2018-11-02
- 1.0.1 — 2018-11-01
- 1.0.0 — 2018-11-01

## README

# random

> Get random numbers based on your settings.

[![NPM](https://img.shields.io/npm/v/random.svg)](https://www.npmjs.com/package/random) [![Build Status](https://travis-ci.com/transitive-bullshit/random.svg?branch=master)](https://travis-ci.com/transitive-bullshit/random) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)



## Install

```bash
npm install --save random-await
```

## Usage

```js
const random = require('random-await')

// quick start
random(min, max, digit)
random(2, 3) // [2, 3), get 2.56
random(2, 3, 5) // [2, 3), get 2.56789



// normal
random({
    min: 2, //min number
    max: 3, //max number
    digit: 5, //decimal digits
    left: true, //contain min number
    right: false //not contain max number
})



```



## License

MIT © [stephen](https://github.com/enci33)

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