# array-insert-random

> Inserts items randomly into an array.

Latest version **1.0.2** (published 2019-05-04) · MIT license · 0 weekly downloads

## Install

```sh
npm install array-insert-random
pnpm add array-insert-random
yarn add array-insert-random
bun add array-insert-random
```

## 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 | 2019-05-04 |
| First published | 2015-12-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 2 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Sean Genabe |
| Maintainers | seangenabe |
| Keywords | array, insert, random |

## Links

- npm: https://www.npmjs.com/package/array-insert-random
- Repository: https://github.com/seangenabe/array-insert-random
- Homepage: https://github.com/seangenabe/array-insert-random#readme
- Issues: https://github.com/seangenabe/array-insert-random/issues
- npm.io page: https://npm.io/package/array-insert-random

## Dependencies (2)

- [arrify](https://npm.io/package/arrify.md) ^1.0.1
- [random-int](https://npm.io/package/random-int.md) ^1.0.0

## Recent versions

- 1.0.2 (latest) — 2019-05-04
- 1.0.1 — 2018-08-07
- 1.0.0 — 2015-12-29

## README

# array-insert-random

Inserts items randomly into an array.

## Usage

```javascript
const arrayInsertRandom = require('array-insert-random')
```

### arrayInsertRandom(array, items)

Parameters:
* `array` - An array to insert into.
* `items` - An object, or an array of objects, to insert into random positions in the array.

## License

MIT

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