# recursive-merge

> [ABANDONED] Recursive merge tool for arrays and objects

Latest version **1.2.1** (published 2015-07-17) · MIT license · 0 weekly downloads

## Install

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

## 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.2.1 |
| Published | 2015-07-17 |
| First published | 2013-08-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | David Kudera |
| Maintainers | sakren |
| Keywords | merge, recursive, browser, array, object |

## Links

- npm: https://www.npmjs.com/package/recursive-merge
- Repository: git@github.com:Carrooi/Node-RecursiveMerge
- Homepage: https://github.com/Carrooi/Node-RecursiveMerge
- Issues: https://github.com/Carrooi/Node-RecursiveMerge/issues
- npm.io page: https://npm.io/package/recursive-merge

## Alternatives

- [@opentelemetry/exporter-zipkin](https://npm.io/package/@opentelemetry/exporter-zipkin.md) — 14.8M weekly downloads
- [pusher-js](https://npm.io/package/pusher-js.md) — 2.0M weekly downloads
- [browserify](https://npm.io/package/browserify.md) — 1.7M weekly downloads
- [sqs-consumer](https://npm.io/package/sqs-consumer.md) — 1.7M weekly downloads
- [@sanity/eventsource](https://npm.io/package/@sanity/eventsource.md) — 930.8K weekly downloads

## Recent versions

- 1.2.1 (latest) — 2015-07-17
- 1.2.0 — 2013-11-25
- 1.1.3 — 2013-11-25
- 1.1.2 — 2013-11-25
- 1.1.1 — 2013-11-20
- 1.0.0 — 2013-08-01

## README

# Recursive merge

Recursive merge tool for arrays and objects.

## Help

Unfortunately I don't have any more time to maintain this repository :-( 

Don't you want to save me and this project by taking over it?

![sad cat](https://raw.githubusercontent.com/sakren/sakren.github.io/master/images/sad-kitten.jpg)

## Installation

```
$ npm install recursive-merge
```

## Usage

With this tool, you can recursively merge arrays or objects.

```
var merge = require('merge');

var result = merge(
	[1, 1, 2, 3],
	[3, 4, 4, 5],
	[10, 9, 8, 1]
);				// result: [1, 1, 2, 3, 3, 4, 4, 5, 10, 9, 8, 1]
```

As you can see, this library just merging objects and not removing duplicates.

You should also know, that this affects first object passed to merge function. Every other objects (arrays, objects) are
added to the first one. There is not any fast simple and universal solution for cloning objects (arrays yes).

In the same way, you can merge also objects.

If you will try to merge two different types of objects, exception will be thrown. Also if you will try to merge other
objects than arrays or objects, exception will be also thrown.

## Tests

```
$ npm test
```

## Changelog

* 1.2.1
	+ Move under Carrooi organization
	+ Abandon package

* 1.2.0
	+ Rewritten

* 1.1.2 - 1.1.3
	+ Bugs in IE8

* 1.1.0 - 1.1.1
	+ Rewritten tests
	+ Using chai for assertion (not should)
	+ Added some tests
	+ Added tests for browser

* 1.0.0
	+ Initial first version

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