# merge-array

> Merge arrays in to the first array

Latest version **1.0.0** (published 2015-09-14) · MIT license · 0 weekly downloads

## Install

```sh
npm install merge-array
pnpm add merge-array
yarn add merge-array
bun add merge-array
```

## 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-09-14 |
| First published | 2015-09-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Andreas Gillström |
| Maintainers | gillstrom |
| Keywords | arr, array, blend, combine, conc, concatenate, fuse, merge, mutable, union |

## Links

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

## Alternatives

- [@lexical/table](https://npm.io/package/@lexical/table.md) — 3.0M weekly downloads
- [mantine-datatable](https://npm.io/package/mantine-datatable.md) — 98.2K weekly downloads
- [react-native-collapsible-tab-view](https://npm.io/package/react-native-collapsible-tab-view.md) — 70.6K weekly downloads
- [@handsontable/vue3](https://npm.io/package/@handsontable/vue3.md) — 16.1K weekly downloads
- [vuewordcloud](https://npm.io/package/vuewordcloud.md) — 7.2K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2015-09-14
- 0.0.0 — 2015-09-13

## README

# merge-array [![Build Status](https://travis-ci.org/gillstrom/merge-array.svg?branch=master)](https://travis-ci.org/gillstrom/merge-array)

> Merge arrays in to the first array


## Install

```
$ npm install --save merge-array
```


## Usage

```js
var mergeArray = require('merge-array');
var arr = ['foo'];

mergeArray(arr, ['bar']);
console.log(arr);
//=> ['foo', 'bar']

mergeArray(arr, ['hello'], ['you']);
console.log(arr);
//=> ['foo', 'bar', 'hello', 'you']
```


## API

### mergeArray(input, array, [array, ...])

#### input

Type: `array`

Array to merge in to.

#### array

Type: `array`

Array to merge in to the first array.


## License

MIT © [Andreas Gillström](http://github.com/gillstrom)

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