# js-object-assign

> Functional recursive object assign

Latest version **0.1.0** (published 2018-02-25) · MIT license · 0 weekly downloads

## Install

```sh
npm install js-object-assign
pnpm add js-object-assign
yarn add js-object-assign
bun add js-object-assign
```

## 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.1.0 |
| Published | 2018-02-25 |
| First published | 2018-02-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Jay Pescione |
| Maintainers | iamdevonbutler |
| Keywords | js, node, javascript, object, assign |

## Links

- npm: https://www.npmjs.com/package/js-object-assign
- Repository: https://github.com/iamdevonbutler/js-object-assign
- Homepage: https://github.com/iamdevonbutler/js-object-assign#readme
- Issues: https://github.com/iamdevonbutler/js-object-assign/issues
- npm.io page: https://npm.io/package/js-object-assign

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.1.0 (latest) — 2018-02-25

## README

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

Functional recursive object merge/assign.

**engines: node >= 9.x**

## Installation
```
npm i --save iamdevonubutler/js-merge
```

## Example
```javascript
const merge = require('js-merge');

var obj = {
  a: 1,
  b: {
    c: 2,
  },
};

var obj1 = {
  a: 1,
  b: {
    c: 3,
  },
};

var obj2 = {
  a: 1,
  d: [obj, obj1] // Breaks Object references.
};

var result = merge(obj, obj1, obj2, ...);
console.log(result);
/*
{ a: 1,
  b: { c: 3 },
  d: [{
    a: 1, b: [{ a: 1, b: { c: 2 } }, { a: 1, b: { c: 3 } }]
  },{
    a: 1, b: [{ a: 1, b: { c: 2 } }, { a: 1, b: { c: 3 } }]
  }]
}
 */

```

## License
MIT

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