{"_id":"nested-object-assign","_rev":"467888","name":"nested-object-assign","description":"Package to support nested merging of objects & properties, using Object.Assign","dist-tags":{"latest":"1.0.4"},"maintainers":[{"name":"valdisiljuconoks","email":"valdis.iljuconoks@outlook.com"}],"time":{"modified":"2021-08-05T08:03:48.000Z","created":"2017-06-07T13:35:29.420Z","1.0.4":"2021-01-28T08:16:18.128Z","1.0.3":"2018-08-31T14:16:11.818Z","1.0.2":"2017-12-21T15:24:49.511Z","1.0.1":"2017-07-29T23:02:07.190Z","1.0.0":"2017-06-07T13:35:29.420Z"},"users":{"olemak":true,"eirhor":true},"author":{"name":"Geta AS / Eirik Horvath","url":"https://github.com/Geta"},"repository":{"type":"git","url":"git+https://github.com/Geta/NestedObjectAssign.git"},"versions":{"1.0.4":{"name":"nested-object-assign","version":"1.0.4","description":"Package to support nested merging of objects & properties, using Object.Assign","main":"./index.js","scripts":{"start":"npm run-script build-dev","prepublish":"npm run build-all","preversion":"npm run build-all && npm run unit","version":"git add .","postversion":"git push && git push --tags","build":"gulp build","build-dev":"gulp build-dev","build-web":"gulp build-web","build-web-dev":"gulp build-web-dev","build-all":"gulp","unit":"mocha --compilers js:babel-core/register --colors ./test/*.spec.js","unit-watch":"mocha --compilers js:babel-core/register --colors -w ./test/*.spec.js","test":"npm run unit-watch"},"repository":{"type":"git","url":"git+https://github.com/Geta/NestedObjectAssign.git"},"keywords":["es6","npm","nested","object","assign"],"author":{"name":"Geta AS / Eirik Horvath","url":"https://github.com/Geta"},"license":"MIT","bugs":{"url":"https://github.com/Geta/NestedObjectAssign/issues"},"homepage":"https://github.com/Geta/NestedObjectAssign","devDependencies":{"babel":"^6.3.26","babel-core":"^6.4.0","babel-eslint":"^5.0.0-beta6","babel-loader":"^6.2.1","babel-plugin-add-module-exports":"^0.1.2","babel-preset-es2015":"^6.3.13","chai":"^3.4.1","clean-webpack-plugin":"^0.1.8","del":"^2.2.0","eslint":"^1.10.3","eslint-config-airbnb":"^4.0.0","eslint-loader":"^1.2.0","eslint-plugin-react":"^3.16.1","eslint-plugin-standard":"^1.3.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-env":"^0.2.0","gulp-eslint":"^1.1.1","gulp-load-plugins":"^1.2.0","gulp-util":"^3.0.6","mocha":"^2.3.4","object-assign":"^4.0.1","webpack":"^1.12.11","webpack-node-externals":"^0.4.1"},"library":{"name":"nestedObjectAssign","entry":"nestedObjectAssign.js","dist-node":"nestedObjectAssign.js","dist-web":"nestedObjectAssign.web.js","bundle-node":true},"gitHead":"5d4d7620cd700fba56a8e18c92b5b2e6e3576fb8","_id":"nested-object-assign@1.0.4","_nodeVersion":"8.17.0","_npmVersion":"6.13.4","dist":{"shasum":"c9db56078eb6043960fdb6ba918a5122a06ccac4","size":2942,"noattachment":false,"key":"/nested-object-assign/-/nested-object-assign-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/nested-object-assign/download/nested-object-assign-1.0.4.tgz"},"_npmUser":{"name":"eirhor","email":"horvath.eirik@gmail.com"},"directories":{},"maintainers":[{"name":"valdisiljuconoks","email":"valdis.iljuconoks@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nested-object-assign_1.0.4_1611821778020_0.6067882048828579"},"_hasShrinkwrap":false,"publish_time":1611821778128,"_cnpm_publish_time":1611821778128},"1.0.3":{"name":"nested-object-assign","version":"1.0.3","description":"Package to support nested merging of objects & properties, using Object.Assign","main":"./index.js","scripts":{"start":"npm run-script build-dev","prepublish":"npm run build-all","preversion":"npm run build-all && npm run unit","version":"git add .","postversion":"git push && git push --tags","build":"gulp build","build-dev":"gulp build-dev","build-web":"gulp build-web","build-web-dev":"gulp build-web-dev","build-all":"gulp","unit":"mocha --compilers js:babel-core/register --colors ./test/*.spec.js","unit-watch":"mocha --compilers js:babel-core/register --colors -w ./test/*.spec.js","test":"npm run unit-watch"},"repository":{"type":"git","url":"git+https://github.com/Geta/NestedObjectAssign.git"},"keywords":["es6","npm","nested","object","assign"],"author":{"name":"Geta AS / Eirik Horvath","url":"https://github.com/Geta"},"license":"MIT","bugs":{"url":"https://github.com/Geta/NestedObjectAssign/issues"},"homepage":"https://github.com/Geta/NestedObjectAssign","devDependencies":{"babel":"^6.3.26","babel-core":"^6.4.0","babel-eslint":"^5.0.0-beta6","babel-loader":"^6.2.1","babel-plugin-add-module-exports":"^0.1.2","babel-preset-es2015":"^6.3.13","chai":"^3.4.1","clean-webpack-plugin":"^0.1.8","del":"^2.2.0","eslint":"^1.10.3","eslint-config-airbnb":"^4.0.0","eslint-loader":"^1.2.0","eslint-plugin-react":"^3.16.1","eslint-plugin-standard":"^1.3.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-env":"^0.2.0","gulp-eslint":"^1.1.1","gulp-load-plugins":"^1.2.0","gulp-util":"^3.0.6","mocha":"^2.3.4","object-assign":"^4.0.1","webpack":"^1.12.11","webpack-node-externals":"^0.4.1"},"library":{"name":"nestedObjectAssign","entry":"nestedObjectAssign.js","dist-node":"nestedObjectAssign.js","dist-web":"nestedObjectAssign.web.js","bundle-node":true},"gitHead":"f63a28f1a285af31c7479a5abba88ffd5d2cb39d","_id":"nested-object-assign@1.0.3","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"eirhor","email":"horvath.eirik@gmail.com"},"dist":{"shasum":"5aca69390d9affe5a612152b5f0843ae399ac597","size":2861,"noattachment":false,"key":"/nested-object-assign/-/nested-object-assign-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/nested-object-assign/download/nested-object-assign-1.0.3.tgz"},"maintainers":[{"name":"valdisiljuconoks","email":"valdis.iljuconoks@outlook.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nested-object-assign_1.0.3_1535724971716_0.15814670144005194"},"_hasShrinkwrap":false,"publish_time":1535724971818,"_cnpm_publish_time":1535724971818},"1.0.2":{"name":"nested-object-assign","version":"1.0.2","description":"Package to support nested merging of objects & properties, using Object.Assign","main":"./index.js","scripts":{"start":"npm run-script build-dev","prepublish":"npm run build-all","preversion":"npm run build-all && npm run unit","version":"git add .","postversion":"git push && git push --tags","build":"gulp build","build-dev":"gulp build-dev","build-web":"gulp build-web","build-web-dev":"gulp build-web-dev","build-all":"gulp","unit":"mocha --compilers js:babel-core/register --colors ./test/*.spec.js","unit-watch":"mocha --compilers js:babel-core/register --colors -w ./test/*.spec.js","test":"npm run unit-watch"},"repository":{"type":"git","url":"git+https://github.com/Geta/NestedObjectAssign.git"},"keywords":["es6","npm","nested","object","assign"],"author":{"name":"Geta AS / Eirik Horvath","url":"https://github.com/Geta"},"license":"MIT","bugs":{"url":"https://github.com/Geta/NestedObjectAssign/issues"},"files":["README.md","index.js","lib","dist"],"homepage":"https://github.com/Geta/NestedObjectAssign","devDependencies":{"babel":"^6.3.26","babel-core":"^6.4.0","babel-eslint":"^5.0.0-beta6","babel-loader":"^6.2.1","babel-plugin-add-module-exports":"^0.1.2","babel-preset-es2015":"^6.3.13","chai":"^3.4.1","clean-webpack-plugin":"^0.1.8","del":"^2.2.0","eslint":"^1.10.3","eslint-config-airbnb":"^4.0.0","eslint-loader":"^1.2.0","eslint-plugin-react":"^3.16.1","eslint-plugin-standard":"^1.3.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-env":"^0.2.0","gulp-eslint":"^1.1.1","gulp-load-plugins":"^1.2.0","gulp-util":"^3.0.6","mocha":"^2.3.4","object-assign":"^4.0.1","webpack":"^1.12.11","webpack-node-externals":"^0.4.1"},"library":{"name":"nestedObjectAssign","entry":"nestedObjectAssign.js","dist-node":"nestedObjectAssign.js","dist-web":"nestedObjectAssign.web.js","bundle-node":true},"gitHead":"3e144cf093f0f5302d610c301bf320ed9b4d7992","_id":"nested-object-assign@1.0.2","_npmVersion":"5.6.0","_nodeVersion":"8.4.0","_npmUser":{"name":"eirhor","email":"horvath.eirik@gmail.com"},"dist":{"shasum":"9a84ef51b5c11298b5476d6c65b26458c9eae82b","size":2211,"noattachment":false,"key":"/nested-object-assign/-/nested-object-assign-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/nested-object-assign/download/nested-object-assign-1.0.2.tgz"},"maintainers":[{"name":"valdisiljuconoks","email":"valdis.iljuconoks@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nested-object-assign-1.0.2.tgz_1513869888654_0.9314181834924966"},"directories":{},"publish_time":1513869889511,"_hasShrinkwrap":false,"_cnpm_publish_time":1513869889511},"1.0.1":{"name":"nested-object-assign","version":"1.0.1","description":"Package to support nested merging of objects & properties, using Object.Assign","main":"./index.js","scripts":{"prepublish":"npm run build-all","preversion":"npm run build-all && npm run unit","version":"git add .","postversion":"git push && git push --tags","build":"gulp build","build-dev":"gulp build-dev","build-web":"gulp build-web","build-web-dev":"gulp build-web-dev","build-all":"gulp","unit":"mocha --compilers js:babel-core/register --colors ./test/*.spec.js","unit-watch":"mocha --compilers js:babel-core/register --colors -w ./test/*.spec.js","test":"npm run unit-watch"},"repository":{"type":"git","url":"git+https://github.com/Geta/NestedObjectAssign.git"},"keywords":["es6","npm","nested","object","assign"],"author":{"name":"Geta AS / Eirik Horvath","url":"https://github.com/Geta"},"license":"MIT","bugs":{"url":"https://github.com/Geta/NestedObjectAssign/issues"},"files":["README.md","index.js","lib","dist"],"homepage":"https://github.com/Geta/NestedObjectAssign","devDependencies":{"babel":"^6.3.26","babel-core":"^6.4.0","babel-eslint":"^5.0.0-beta6","babel-loader":"^6.2.1","babel-plugin-add-module-exports":"^0.1.2","babel-preset-es2015":"^6.3.13","chai":"^3.4.1","clean-webpack-plugin":"^0.1.8","del":"^2.2.0","eslint":"^1.10.3","eslint-config-airbnb":"^4.0.0","eslint-loader":"^1.2.0","eslint-plugin-react":"^3.16.1","eslint-plugin-standard":"^1.3.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-env":"^0.2.0","gulp-eslint":"^1.1.1","gulp-load-plugins":"^1.2.0","gulp-util":"^3.0.6","mocha":"^2.3.4","object-assign":"^4.0.1","webpack":"^1.12.11","webpack-node-externals":"^0.4.1"},"library":{"name":"nestedObjectAssign","entry":"nestedObjectAssign.js","dist-node":"nestedObjectAssign.js","dist-web":"nestedObjectAssign.web.js","bundle-node":true},"gitHead":"6957453896dd768a2146c471df0f5b5e3c24f466","_id":"nested-object-assign@1.0.1","_npmVersion":"5.0.3","_nodeVersion":"8.1.2","_npmUser":{"name":"eirhor","email":"horvath.eirik@gmail.com"},"dist":{"shasum":"72d4996d77acbbfda92421f48e1d14eba0962159","size":2222,"noattachment":false,"key":"/nested-object-assign/-/nested-object-assign-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/nested-object-assign/download/nested-object-assign-1.0.1.tgz"},"maintainers":[{"name":"valdisiljuconoks","email":"valdis.iljuconoks@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nested-object-assign-1.0.1.tgz_1501369326162_0.4463757735211402"},"directories":{},"publish_time":1501369327190,"_hasShrinkwrap":false,"_cnpm_publish_time":1501369327190},"1.0.0":{"name":"nested-object-assign","version":"1.0.0","description":"Package to support nested merging of objects & properties, using Object.Assign","main":"./index.js","scripts":{"prepublish":"npm run build-all","preversion":"npm run build-all && npm run unit","version":"git add .","postversion":"git push && git push --tags","build":"gulp build","build-dev":"gulp build-dev","build-web":"gulp build-web","build-web-dev":"gulp build-web-dev","build-all":"gulp","unit":"mocha --compilers js:babel-core/register --colors ./test/*.spec.js","unit-watch":"mocha --compilers js:babel-core/register --colors -w ./test/*.spec.js","test":"npm run unit-watch"},"repository":{"type":"git","url":"git+https://github.com/Geta/NestedObjectAssign.git"},"keywords":["es6","npm","nested","object","assign"],"author":{"name":"Geta AS / Eirik Horvath","url":"https://github.com/Geta"},"license":"MIT","bugs":{"url":"https://github.com/Geta/NestedObjectAssign/issues"},"files":["README.md","index.js","lib","dist"],"homepage":"https://github.com/Geta/NestedObjectAssign","devDependencies":{"babel":"^6.3.26","babel-core":"^6.4.0","babel-eslint":"^5.0.0-beta6","babel-loader":"^6.2.1","babel-plugin-add-module-exports":"^0.1.2","babel-preset-es2015":"^6.3.13","chai":"^3.4.1","clean-webpack-plugin":"^0.1.8","del":"^2.2.0","eslint":"^1.10.3","eslint-config-airbnb":"^4.0.0","eslint-loader":"^1.2.0","eslint-plugin-react":"^3.16.1","eslint-plugin-standard":"^1.3.1","gulp":"^3.9.0","gulp-babel":"^6.1.1","gulp-env":"^0.2.0","gulp-eslint":"^1.1.1","gulp-load-plugins":"^1.2.0","gulp-util":"^3.0.6","mocha":"^2.3.4","object-assign":"^4.0.1","webpack":"^1.12.11","webpack-node-externals":"^0.4.1"},"library":{"name":"nestedObjectAssign","entry":"nestedObjectAssign.js","dist-node":"nestedObjectAssign.js","dist-web":"nestedObjectAssign.web.js","bundle-node":true},"gitHead":"7261a34b4c6efb85c486b1e41bc1eb9e026905c6","_id":"nested-object-assign@1.0.0","_shasum":"9f3426f1b2b30a6f22e2ae28bbe4e9e90f5fef5a","_from":".","_npmVersion":"4.1.1","_nodeVersion":"7.8.0","_npmUser":{"name":"eirhor","email":"horvath.eirik@gmail.com"},"dist":{"shasum":"9f3426f1b2b30a6f22e2ae28bbe4e9e90f5fef5a","size":2037,"noattachment":false,"key":"/nested-object-assign/-/nested-object-assign-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/nested-object-assign/download/nested-object-assign-1.0.0.tgz"},"maintainers":[{"name":"valdisiljuconoks","email":"valdis.iljuconoks@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/nested-object-assign-1.0.0.tgz_1496842528568_0.7316008792258799"},"directories":{},"publish_time":1496842529420,"_hasShrinkwrap":false,"_cnpm_publish_time":1496842529420}},"readme":"# NestedObjectAssign\r\n[![Build Status](https://travis-ci.org/Geta/NestedObjectAssign.svg?branch=master)](https://travis-ci.org/Geta/NestedObjectAssign)\r\n[![dependencies Status](https://david-dm.org/geta/NestedObjectAssign/status.svg)](https://david-dm.org/geta/NestedObjectAssign)\r\n\r\nThis package extends the functionality given by Object.assign() to also include the values of nested objects.\r\n\r\n## Installation\r\n```\r\nnpm install --save nested-object-assign\r\n```\r\n\r\n## Usage\r\nWorks just like Object.Assign, add an empty object first (the object you want the other objects merged into), then as many objects as you wish afterwards, comma separated.\r\n\r\n```js\r\nimport nestedObjectAssign from 'nested-object-assign';\r\nconst defaults = {}\r\n\r\nfunction test() {\r\n    let data = nestedObjectAssign({}, defaults, object1, object2, object3);\r\n}\r\n```\r\n\r\n## Tests\r\nTests were done for these node.js versions:\r\n* 8\r\n* 7\r\n* 6","_attachments":{},"homepage":"https://github.com/Geta/NestedObjectAssign","bugs":{"url":"https://github.com/Geta/NestedObjectAssign/issues"},"license":"MIT"}