JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1315164
  • Score
    100M100P100Q185647F
  • License MIT

Recursively merge values in a javascript object.

Package Exports

  • merge-deep

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (merge-deep) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

merge-deep NPM version

Recursively merge values in a javascript object.

Based on mout's implementation of merge

Install

Install with npm

$ npm i merge-deep --save

Usage

var merge = require('merge-deep');

merge({a: {b: {c: 'c', d: 'd'}}}, {a: {b: {e: 'e', f: 'f'}}});
//=> { a: { b: { c: 'c', d: 'd', e: 'e', f: 'f' } } }
  • assign-deep: Deeply assign the enumerable properties of source objects to a destination object.
  • defaults-deep: Like extend but recursively copies only the missing properties/values to the target object.
  • extend-shallow: Extend an object with the properties of additional objects. node.js/javascript util.
  • mixin-deep: Deeply mix the properties of objects into the first object. Like merge-deep, but doesn't clone.
  • omit-deep: Recursively omit the specified key or keys from an object.

Running tests

Install dev dependencies:

$ npm i -d && npm test

Contributing

Pull requests and stars are always welcome. For bugs and feature requests, please create an issue

Author

Jon Schlinkert

License

Copyright © 2015 Jon Schlinkert Released under the MIT license.


This file was generated by verb-cli on May 28, 2015.