{"name":"deep-extend","description":"Recursive object extending","license":"MIT","version":"0.5.0","homepage":"https://github.com/unclechu/node-deep-extend","keywords":["deep-extend","extend","deep","recursive","xtend","clone","merge","json"],"licenses":[{"type":"MIT","url":"https://raw.githubusercontent.com/unclechu/node-deep-extend/master/LICENSE"}],"repository":{"type":"git","url":"git://github.com/unclechu/node-deep-extend.git"},"author":{"name":"Viacheslav Lotsmanov","email":"lotsmanov89@gmail.com"},"bugs":{"url":"https://github.com/unclechu/node-deep-extend/issues"},"contributors":[{"name":"Romain Prieto","url":"https://github.com/rprieto"},{"name":"Max Maximov","url":"https://github.com/maxmaximov"},{"name":"Marshall Bowers","url":"https://github.com/maxdeviant"}],"main":"lib/deep-extend.js","engines":{"node":">=0.10.0","iojs":">=1.0.0"},"scripts":{"test":"mocha"},"devDependencies":{"mocha":"2.2.1","should":"5.2.0"},"files":["index.js","lib/"],"gitHead":"adb9c495d1dccbff3e87cdae157dc856f3a05c65","_id":"deep-extend@0.5.0","_shasum":"6ef4a09b05f98b0e358d6d93d4ca3caec6672803","_from":".","_npmVersion":"3.10.10","_nodeVersion":"6.9.4","_npmUser":{"name":"unclechu","email":"lotsmanov89@gmail.com"},"dist":{"shasum":"6ef4a09b05f98b0e358d6d93d4ca3caec6672803","tarball":"http://registry-npm.ywwl.com/deep-extend/download/deep-extend-0.5.0.tgz","integrity":"sha512-avbqfQK2M9h+GcX7OVmEvnhodw0rFdzXYRGD4b17BIRxyXVo9he2AIaE0ts1PrPA8sHgv0N6dHd99bL7Hky4Qg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB+J0PzgFoILkGQ48pW0CC2jQi4zBUCwnsSYCgQIJVpyAiB2fobSO/jZtt2ITyAAZo88h59OMp8G39Fx6tP8FmXMiw=="}],"size":3397,"noattachment":false,"key":"/deep-extend/-/deep-extend-0.5.0.tgz"},"maintainers":[{"name":"unclechu","email":"lotsmanov89@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/deep-extend-0.5.0.tgz_1494512875662_0.9282552199438214"},"directories":{},"readme":"Deep Extend\n===========\n\nRecursive object extending.\n\n[![Build Status](https://api.travis-ci.org/unclechu/node-deep-extend.svg?branch=master)](https://travis-ci.org/unclechu/node-deep-extend)\n\n[![NPM](https://nodei.co/npm/deep-extend.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/deep-extend/)\n\nInstall\n-------\n\n```bash\n$ npm install deep-extend\n```\n\nUsage\n-----\n\n```javascript\nvar deepExtend = require('deep-extend');\nvar obj1 = {\n  a: 1,\n  b: 2,\n  d: {\n    a: 1,\n    b: [],\n    c: { test1: 123, test2: 321 }\n  },\n  f: 5,\n  g: 123,\n  i: 321,\n  j: [1, 2]\n};\nvar obj2 = {\n  b: 3,\n  c: 5,\n  d: {\n    b: { first: 'one', second: 'two' },\n    c: { test2: 222 }\n  },\n  e: { one: 1, two: 2 },\n  f: [],\n  g: (void 0),\n  h: /abc/g,\n  i: null,\n  j: [3, 4]\n};\n\ndeepExtend(obj1, obj2);\n\nconsole.log(obj1);\n/*\n{ a: 1,\n  b: 3,\n  d:\n   { a: 1,\n     b: { first: 'one', second: 'two' },\n     c: { test1: 123, test2: 222 } },\n  f: [],\n  g: undefined,\n  c: 5,\n  e: { one: 1, two: 2 },\n  h: /abc/g,\n  i: null,\n  j: [3, 4] }\n*/\n```\n\nUnit testing\n------------\n\n```bash\n$ npm test\n```\n\nChangelog\n---------\n\n[CHANGELOG.md](./CHANGELOG.md)\n\nAny issues?\n-----------\n\nPlease, report about issues\n[here](https://github.com/unclechu/node-deep-extend/issues).\n\nLicense\n-------\n\n[MIT](./LICENSE)\n","publish_time":1494512877546,"_cnpm_publish_time":1494512877546,"dist-tags":{"latest":"0.6.0"}}