# randa

> Randomness for arrays

Latest version **0.0.3** (published 2017-07-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install randa
pnpm add randa
yarn add randa
bun add randa
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2017-07-30 |
| First published | 2017-06-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | indatawetrust |
| Maintainers | cond |
| Keywords | random, array |

## Links

- npm: https://www.npmjs.com/package/randa
- Repository: https://github.com/indatawetrust/randa
- Homepage: https://github.com/indatawetrust/randa#readme
- Issues: https://github.com/indatawetrust/randa/issues
- npm.io page: https://npm.io/package/randa

## Recent versions

- 0.0.3 (latest) — 2017-07-30
- 0.0.2 — 2017-06-21
- 0.0.1 — 2017-06-21

## README

[![Travis Build
Status](https://img.shields.io/travis/indatawetrust/randa.svg)](https://travis-ci.org/indatawetrust/randa)

# randa
Randomness for arrays

```
npm i randa -S
```

```js
import r from 'randa'

r.int(2, 10, 8)
// [ 8, 5, 6, 9, 3, 7, 10, 1 ]

r.float(5, 14, 9)
// [ 12, 1.22, 2.11, 14.83, 10.8, 5.13, 6.5, 9.31, 12.25 ]

r.regex(/[a-z]{2,2}/, 2, 9)
// [ 'ml', 'za', 'sb', 'wl', 'si', 'pf', 'ie', 'et', 'pi' ]
```

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