# unify-arrays

> Squashes arrays together, while making sure there aren't any duplicate values

Latest version **1.0.0** (published 2015-02-16) · MIT license · 0 weekly downloads

## Install

```sh
npm install unify-arrays
pnpm add unify-arrays
yarn add unify-arrays
bun add unify-arrays
```

## 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.0 |
| Published | 2015-02-16 |
| First published | 2015-02-16 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Arthur Verschaeve |
| Maintainers | arthurvr |
| Keywords | unify arrays, squash arrays, array |

## Links

- npm: https://www.npmjs.com/package/unify-arrays
- Repository: https://github.com/arthurvr/unify-arrays
- Issues: https://github.com/arthurvr/unify-arrays/issues
- npm.io page: https://npm.io/package/unify-arrays

## Recent versions

- 1.0.0 (latest) — 2015-02-16

## README

# unify-arrays

> Squashes arrays together, while making sure there aren't any duplicate values.

[![Build Status](https://travis-ci.org/arthurvr/unify-arrays.svg?branch=master)](https://travis-ci.org/arthurvr/unify-arrays)

## Installation

```sh
$ npm install unify-arrays --save-dep
```

## Example

```javascript
var unifyArrays = require('unify-arrays');

// Simple concatination of two arrays
unifyArrays([1, 2], [3, 4]); // [1, 2, 3, 4]

// ... but it can perfectly take more than 2!
unifyArrays([1, 2], [3, 4], [5, 6]); // [1, 2, 3, 4, 5, 6]

// and removes duplicates!
unifyArrays(['a', 'b'], ['b'], ['c', 'c', 'c'], ['d', 'e'], ['f']); // ['a', 'b', 'c', 'd', 'e', 'f']
```

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