{"_id":"copy-props","_rev":"3341780","name":"copy-props","description":"Copy properties deeply between two objects.","dist-tags":{"latest":"4.0.0"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"time":{"modified":"2024-07-10T08:35:29.000Z","created":"2016-09-18T14:30:49.703Z","4.0.0":"2022-10-09T22:38:07.260Z","3.0.1":"2021-10-31T21:32:39.123Z","3.0.0":"2021-10-31T21:09:04.314Z","2.0.5":"2021-03-18T15:32:30.459Z","2.0.4":"2018-05-13T13:45:20.094Z","2.0.3":"2018-05-05T15:56:56.048Z","2.0.2":"2018-04-16T14:48:45.333Z","2.0.1":"2017-04-15T14:56:20.350Z","2.0.0":"2017-04-13T13:00:42.215Z","1.6.0":"2017-04-01T12:22:24.466Z","1.5.2":"2017-03-01T15:01:52.299Z","1.4.2":"2017-02-27T20:41:43.582Z","1.4.1":"2017-01-27T14:28:39.743Z","1.4.0":"2017-01-26T15:07:32.956Z","1.3.0":"2016-10-08T12:55:40.505Z","1.2.0":"2016-09-25T20:28:49.035Z","1.1.0":"2016-09-25T09:01:50.053Z","1.0.2":"2016-09-19T14:35:04.855Z","1.0.1":"2016-09-19T00:15:07.869Z","1.0.0":"2016-09-18T14:30:49.703Z"},"users":{},"author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"https://gulpjs.com/"},"repository":{"type":"git","url":"git+https://github.com/gulpjs/copy-prop.git"},"versions":{"4.0.0":{"name":"copy-props","version":"4.0.0","description":"Copy properties deeply between two objects.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"https://gulpjs.com/"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha --async-only"},"repository":{"type":"git","url":"git+https://github.com/gulpjs/copy-prop.git"},"keywords":["object","property","copy","deep","map","convert"],"license":"MIT","engines":{"node":">= 10.13.0"},"nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"dependencies":{"each-props":"^3.0.0","is-plain-object":"^5.0.0"},"devDependencies":{"eslint":"^7.32.0","eslint-config-gulp":"^5.0.1","eslint-plugin-node":"^11.1.0","expect":"^27.5.1","mocha":"^8.4.0","nyc":"^15.1.0"},"gitHead":"24f78f743b049900594ed92e580d3c63276c3119","bugs":{"url":"https://github.com/gulpjs/copy-prop/issues"},"homepage":"https://github.com/gulpjs/copy-prop#readme","_id":"copy-props@4.0.0","_nodeVersion":"16.14.2","_npmVersion":"8.11.0","dist":{"shasum":"01d249198b8c2e4d8a5e87b90c9630f52c99a9c9","size":4617,"noattachment":false,"key":"/copy-props/-/copy-props-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-4.0.0.tgz"},"_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"directories":{},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/copy-props_4.0.0_1665355087091_0.8654108810802874"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-10-25T13:14:35.782Z","publish_time":1665355087260,"_cnpm_publish_time":1665355087260},"3.0.1":{"name":"copy-props","version":"3.0.1","description":"Copy properties deeply between two objects.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"https://gulpjs.com/"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha","web:build":"browserify index.js --standalone copyProps -o web/copy-props.js && cd web && uglifyjs copy-props.js --compress --mangle -o copy-props.min.js --source-map url=copy-props.min.js.map","chrome:install":"npm i --no-save mocha-chrome","chrome:test":"mocha-chrome test/web/browser-test.html","build":"npm run lint && npm run test && npm run web:build && node test/web/make.js"},"repository":{"type":"git","url":"git+https://github.com/gulpjs/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"license":"MIT","engines":{"node":">= 10.13.0"},"bugs":{"url":"https://github.com/gulpjs/copy-props/issues"},"homepage":"https://github.com/gulpjs/copy-props#readme","nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"dependencies":{"each-props":"^2.0.0","is-plain-object":"^5.0.0"},"devDependencies":{"browserify":"^17.0.0","chai":"^4.3.4","eslint":"^7.32.0","eslint-config-gulp":"^5.0.1","eslint-plugin-node":"^11.1.0","mocha":"^8.4.0","nyc":"^15.1.0","uglify-js":"^3.14.2"},"gitHead":"37826bdf3689e74a317cd0dd0827e236c9ccd1dc","_id":"copy-props@3.0.1","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"shasum":"cf9de4afb8ae462735782ef0b9ac7e15918fc676","size":4970,"noattachment":false,"key":"/copy-props/-/copy-props-3.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-3.0.1.tgz"},"_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"directories":{},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/copy-props_3.0.1_1635715958983_0.10869332270750554"},"_hasShrinkwrap":false,"publish_time":1635715959123,"_cnpm_publish_time":1635715959123},"3.0.0":{"name":"copy-props","version":"3.0.0","description":"Copy properties deeply between two objects.","author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"https://gulpjs.com/"},"main":"index.js","scripts":{"lint":"eslint .","pretest":"npm run lint","test":"nyc mocha","web:build":"browserify index.js --standalone copyProps -o web/copy-props.js && cd web && uglifyjs copy-props.js --compress --mangle -o copy-props.min.js --source-map url=copy-props.min.js.map","chrome:install":"npm i --no-save mocha-chrome","chrome:test":"mocha-chrome test/web/browser-test.html","build":"npm run lint && npm run test && npm run web:build && node test/web/make.js"},"repository":{"type":"git","url":"git+https://github.com/gulpjs/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"license":"MIT","engines":{"node":">= 10.13.0"},"bugs":{"url":"https://github.com/gulpjs/copy-props/issues"},"homepage":"https://github.com/gulpjs/copy-props#readme","nyc":{"reporter":["lcov","text-summary"]},"prettier":{"singleQuote":true},"dependencies":{"each-props":"^1.3.2","is-plain-object":"^5.0.0"},"devDependencies":{"browserify":"^17.0.0","chai":"^4.3.4","eslint":"^7.32.0","eslint-config-gulp":"^5.0.1","mocha":"^8.4.0","nyc":"^15.1.0","uglify-js":"^3.14.2"},"gitHead":"16412451725f82bf273b4751d3e6a3f0815ec56b","_id":"copy-props@3.0.0","_nodeVersion":"14.18.0","_npmVersion":"7.24.2","dist":{"shasum":"d8971ee41f36fa80f2af0934d659d19ec7c2945b","size":4889,"noattachment":false,"key":"/copy-props/-/copy-props-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-3.0.0.tgz"},"_npmUser":{"name":"phated","email":"blaine.bublitz@gmail.com"},"directories":{},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/copy-props_3.0.0_1635714544108_0.18965489708348215"},"_hasShrinkwrap":false,"publish_time":1635714544314,"_cnpm_publish_time":1635714544314},"2.0.5":{"name":"copy-props","version":"2.0.5","description":"Copy properties deeply between two objects.","main":"index.js","scripts":{"lint":"eslint .","test":"mocha","coverage":"nyc --reporter=lcov --reporter=text-summary npm test","coveralls":"nyc --reporter=text-lcov npm test | coveralls","web:build":"browserify index.js --standalone copyProps -o web/copy-props.js && cd web && uglifyjs copy-props.js --compress --mangle -o copy-props.min.js --source-map url=copy-props.min.js.map","chrome:install":"npm i --no-save mocha-chrome","chrome:test":"mocha-chrome test/web/browser-test.html","build":"npm run lint && npm run coverage && npm run web:build && node test/web/make.js"},"repository":{"type":"git","url":"git+https://github.com/gulpjs/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Gulp Team","email":"team@gulpjs.com","url":"https://gulpjs.com/"},"license":"MIT","bugs":{"url":"https://github.com/gulpjs/copy-props/issues"},"homepage":"https://github.com/gulpjs/copy-props#readme","dependencies":{"each-props":"^1.3.2","is-plain-object":"^5.0.0"},"devDependencies":{"browserify":"^16.5.2","chai":"^3.5.0","coveralls":"^3.1.0","eslint":"^7.9.0","eslint-config-gulp":"^5.0.1","mocha":"^3.5.3","nyc":"^15.1.0","uglify-js":"^3.10.4"},"_id":"copy-props@2.0.5","_nodeVersion":"15.5.0","_npmVersion":"7.3.0","dist":{"shasum":"03cf9ae328d4ebb36f8f1d804448a6af9ee3f2d2","size":4723,"noattachment":false,"key":"/copy-props/-/copy-props-2.0.5.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-2.0.5.tgz"},"_npmUser":{"name":"sttk","email":"sttk.xslet@gmail.com"},"directories":{},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/copy-props_2.0.5_1616081550261_0.5357865694884878"},"_hasShrinkwrap":false,"publish_time":1616081550459,"_cnpm_publish_time":1616081550459},"2.0.4":{"name":"copy-props","version":"2.0.4","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"nyc --reporter=lcov --reporter=text-summary npm test","coveralls":"nyc --reporter=text-lcov npm test | coveralls","web:build":"browserify index.js --standalone copyProps -o web/copy-props.js && cd web && uglifyjs copy-props.js --compress --mangle -o copy-props.min.js --source-map url=copy-props.min.js.map","chrome:install":"npm i --no-save mocha-chrome","chrome:test":"mocha-chrome test/web/browser-test.html","build":"npm run lint && npm run coverage && npm run web:build && node test/web/make.js"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.3.0","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^16.2.2","chai":"^3.5.0","coveralls":"^3.0.1","eslint":"^4.19.1","mocha":"^3.2.0","nyc":"^11.7.2","uglify-js":"^3.3.24"},"_id":"copy-props@2.0.4","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"sttk","email":"sttk.xslet@gmail.com"},"dist":{"shasum":"93bb1cadfafd31da5bb8a9d4b41f471ec3a72dfe","size":4619,"noattachment":false,"key":"/copy-props/-/copy-props-2.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-2.0.4.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/copy-props_2.0.4_1526219120001_0.6283586133186712"},"_hasShrinkwrap":false,"publish_time":1526219120094,"_cnpm_publish_time":1526219120094},"2.0.3":{"name":"copy-props","version":"2.0.3","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha","coveralls":"istanbul cover _mocha && istanbul-coveralls","web:install":"npm install --no-save phantomjs-prebuilt mocha-phantomjs","web:build":"browserify index.js --standalone copyProps | uglifyjs --compress --mangle -o web/copy-props.js && node test/web/make.js","web:test":"mocha-phantomjs -p node_modules/.bin/phantomjs test/web/copy-props.test.html"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.3.0","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^14.1.0","chai":"^3.5.0","eslint":"^3.16.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","mocha":"^3.2.0","uglify-js":"^2.8.1"},"_id":"copy-props@2.0.3","_npmVersion":"5.6.0","_nodeVersion":"10.0.0","_npmUser":{"name":"sttk","email":"sttk.xslet@gmail.com"},"dist":{"shasum":"55460b8196583fe38b8f08aa13578c22ddd1b114","size":4383,"noattachment":false,"key":"/copy-props/-/copy-props-2.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-2.0.3.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/copy-props_2.0.3_1525535815961_0.9287396728205146"},"_hasShrinkwrap":false,"publish_time":1525535816048,"_cnpm_publish_time":1525535816048},"2.0.2":{"name":"copy-props","version":"2.0.2","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha","coveralls":"istanbul cover _mocha && istanbul-coveralls","web:install":"npm install --no-save phantomjs-prebuilt mocha-phantomjs","web:build":"browserify index.js --standalone copyProps | uglifyjs --compress --mangle -o web/copy-props.js && node test/web/make.js","web:test":"mocha-phantomjs -p node_modules/.bin/phantomjs test/web/copy-props.test.html"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.3.0","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^14.1.0","chai":"^3.5.0","eslint":"^3.16.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","mocha":"^3.2.0","uglify-js":"^2.8.1"},"_id":"copy-props@2.0.2","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"sttk","email":"sttk.xslet@gmail.com"},"dist":{"shasum":"6151fc8fd47fd8703df00f53940a0ebfeb8c2162","size":4384,"noattachment":false,"key":"/copy-props/-/copy-props-2.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-2.0.2.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/copy-props_2.0.2_1523890125160_0.4433409768888277"},"_hasShrinkwrap":false,"publish_time":1523890125333,"_cnpm_publish_time":1523890125333},"2.0.1":{"name":"copy-props","version":"2.0.1","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha","coveralls":"istanbul cover _mocha && istanbul-coveralls","web:install":"npm i phantomjs-prebuilt mocha-phantomjs","web:build":"browserify index.js --standalone copyProps | uglifyjs --compress --mangle -o web/copy-props.js && node test/web/make.js","web:test":"mocha-phantomjs -p node_modules/.bin/phantomjs test/web/copy-props.test.html"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.3.0","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^14.1.0","chai":"^3.5.0","eslint":"^3.16.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","mocha":"^3.2.0","uglify-js":"^2.8.1"},"_id":"copy-props@2.0.1","_shasum":"665fc32046ca84a898abaa3c5945e7f248ccba00","_resolved":"file:copy-props-2.0.1.tar.gz","_from":"copy-props-2.0.1.tar.gz","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"665fc32046ca84a898abaa3c5945e7f248ccba00","size":12238,"noattachment":false,"key":"/copy-props/-/copy-props-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-2.0.1.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/copy-props-2.0.1.tgz_1492268180092_0.6462797534186393"},"directories":{},"publish_time":1492268180350,"_hasShrinkwrap":false,"_cnpm_publish_time":1492268180350},"2.0.0":{"name":"copy-props","version":"2.0.0","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha","coveralls":"istanbul cover _mocha && istanbul-coveralls","web:install":"npm i phantomjs-prebuilt mocha-phantomjs","web:build":"browserify index.js --standalone copyProps | uglifyjs --compress --mangle -o web/copy-props.js && node test/web/make.js","web:test":"mocha-phantomjs -p node_modules/.bin/phantomjs test/web/copy-props.test.html"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.2.1","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^14.1.0","chai":"^3.5.0","eslint":"^3.16.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","mocha":"^3.2.0","uglify-js":"^2.8.1"},"_id":"copy-props@2.0.0","_shasum":"ffea34afcd641295b7df045129bbf37d2bb243d7","_resolved":"file:copy-props-2.0.0.tar.gz","_from":"copy-props-2.0.0.tar.gz","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"ffea34afcd641295b7df045129bbf37d2bb243d7","size":12232,"noattachment":false,"key":"/copy-props/-/copy-props-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-2.0.0.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/copy-props-2.0.0.tgz_1492088440331_0.207194670336321"},"directories":{},"publish_time":1492088442215,"_hasShrinkwrap":false,"_cnpm_publish_time":1492088442215},"1.6.0":{"name":"copy-props","version":"1.6.0","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha","coveralls":"istanbul cover _mocha && istanbul-coveralls","web:install":"npm i phantomjs-prebuilt mocha-phantomjs","web:build":"browserify index.js --standalone copyProps | uglifyjs --compress --mangle -o web/copy-props.js && node test/web/make.js","web:test":"mocha-phantomjs -p node_modules/.bin/phantomjs test/web/copy-props.test.html"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.2.1","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^14.1.0","chai":"^3.5.0","eslint":"^3.16.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","mocha":"^3.2.0","uglify-js":"^2.8.1"},"_id":"copy-props@1.6.0","_shasum":"f0324bbee99771101e7b3ada112f313c393db8ed","_resolved":"file:copy-props-1.6.0.tar.gz","_from":"copy-props-1.6.0.tar.gz","_npmVersion":"3.10.10","_nodeVersion":"6.10.0","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"f0324bbee99771101e7b3ada112f313c393db8ed","size":10311,"noattachment":false,"key":"/copy-props/-/copy-props-1.6.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.6.0.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/copy-props-1.6.0.tgz_1491049344200_0.8218970422167331"},"directories":{},"publish_time":1491049344466,"_cnpm_publish_time":1491049344466,"_hasShrinkwrap":false},"1.5.2":{"name":"copy-props","version":"1.5.2","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha","coveralls":"istanbul cover _mocha && istanbul-coveralls","web:install":"npm i phantomjs-prebuilt mocha-phantomjs","web:build":"browserify index.js --standalone copyProps | uglifyjs --compress --mangle -o web/copy-props.js && node test/web/make.js","web:test":"mocha-phantomjs -p node_modules/.bin/phantomjs test/web/copy-props.test.html"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.2.1","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^14.1.0","chai":"^3.5.0","eslint":"^3.16.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","mocha":"^3.2.0","uglify-js":"^2.8.1"},"_id":"copy-props@1.5.2","_shasum":"b1e459d22b3674c35a012bf0bdb70c920c8c1971","_resolved":"file:copy-props-1.5.2.tar.gz","_from":"copy-props-1.5.2.tar.gz","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"b1e459d22b3674c35a012bf0bdb70c920c8c1971","size":10071,"noattachment":false,"key":"/copy-props/-/copy-props-1.5.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.5.2.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/copy-props-1.5.2.tgz_1488380510521_0.8292003523092717"},"directories":{},"publish_time":1488380512299,"_cnpm_publish_time":1488380512299,"_hasShrinkwrap":false},"1.4.2":{"name":"copy-props","version":"1.4.2","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha","coveralls":"istanbul cover _mocha && istanbul-coveralls","web:build":"browserify index.js --standalone copyProps | uglifyjs --compress --mangle -o web/copy-props.js && node test/web/make.js","web:test":"mocha-phantomjs -p node_modules/.bin/phantomjs test/web/copy-props.test.html"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.1.0","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^13.3.0","chai":"^3.5.0","eslint":"^3.6.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","mocha":"^3.1.0","mocha-phantomjs":"^4.1.0","phantomjs":"^2.1.7","uglify-js":"^2.7.5"},"_id":"copy-props@1.4.2","_shasum":"5fb5f0e27b27d78632bc513c23a812c554e610aa","_resolved":"file:copy-props-1.4.2.tar.gz","_from":"copy-props-1.4.2.tar.gz","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"5fb5f0e27b27d78632bc513c23a812c554e610aa","size":9640,"noattachment":false,"key":"/copy-props/-/copy-props-1.4.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.4.2.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/copy-props-1.4.2.tgz_1488228101684_0.6235193742904812"},"directories":{},"publish_time":1488228103582,"_cnpm_publish_time":1488228103582,"_hasShrinkwrap":false},"1.4.1":{"name":"copy-props","version":"1.4.1","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha","coveralls":"istanbul cover _mocha && istanbul-coveralls","web:build":"browserify index.js | uglifyjs --compress --mangle -o web/copy-props.js && browserify -o test/web/copy-props.test.js test/*.js","web:test":"mocha-phantomjs -p node_modules/.bin/phantomjs test/web/copy-props.test.html"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.1.0","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^13.3.0","chai":"^3.5.0","eslint":"^3.6.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","mocha":"^3.1.0","mocha-phantomjs":"^4.1.0","phantomjs":"^2.1.7","uglify-js":"^2.7.5"},"_id":"copy-props@1.4.1","_shasum":"e96bb851c0387d4818b4d2414daf38b988cfe19c","_resolved":"file:copy-props-1.4.1.tar.gz","_from":"copy-props-1.4.1.tar.gz","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"e96bb851c0387d4818b4d2414daf38b988cfe19c","size":55449,"noattachment":false,"key":"/copy-props/-/copy-props-1.4.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.4.1.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/copy-props-1.4.1.tgz_1485527317824_0.21595831913873553"},"directories":{},"publish_time":1485527319743,"_cnpm_publish_time":1485527319743,"_hasShrinkwrap":false},"1.4.0":{"name":"copy-props","version":"1.4.0","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha","coveralls":"istanbul cover _mocha && istanbul-coveralls","web:build":"browserify index.js | uglifyjs --compress --mangle -o web/copy-props.js && browserify -o test/web/copy-props.test.js test/*.js","web:test":"mocha-phantomjs -p node_modules/.bin/phantomjs test/web/copy-props.test.html"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","dependencies":{"each-props":"^1.1.0","is-plain-object":"^2.0.1"},"devDependencies":{"browserify":"^13.3.0","chai":"^3.5.0","eslint":"^3.6.1","istanbul":"^0.4.5","istanbul-coveralls":"^1.0.3","mocha":"^3.1.0","mocha-phantomjs":"^4.1.0","phantomjs":"^2.1.7","uglify-js":"^2.7.5"},"_id":"copy-props@1.4.0","_shasum":"07c2e040338cebcc9f7a815bd65fc0de8099a600","_resolved":"file:copy-props-1.4.0.tar.gz","_from":"copy-props-1.4.0.tar.gz","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"07c2e040338cebcc9f7a815bd65fc0de8099a600","size":55114,"noattachment":false,"key":"/copy-props/-/copy-props-1.4.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.4.0.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/copy-props-1.4.0.tgz_1485443250805_0.08957056351937354"},"directories":{},"publish_time":1485443252956,"_cnpm_publish_time":1485443252956,"_hasShrinkwrap":false},"1.3.0":{"name":"copy-props","version":"1.3.0","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","devDependencies":{"chai":"^3.5.0","eslint":"^3.5.0","istanbul":"^0.4.5","lodash.assign":"^4.2.0","lodash.merge":"^4.6.0","mocha":"^3.0.2","testrun":"^0.7.0"},"dependencies":{"each-props":"^1.0.0","lodash.isplainobject":"^4.0.6","lodash.set":"^4.3.2"},"_id":"copy-props@1.3.0","_shasum":"c777f151bb8b891ed35062de134da543c451be15","_resolved":"file:copy-props-1.3.0.tar.gz","_from":"copy-props-1.3.0.tar.gz","_npmVersion":"3.10.3","_nodeVersion":"6.7.0","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"c777f151bb8b891ed35062de134da543c451be15","size":7258,"noattachment":false,"key":"/copy-props/-/copy-props-1.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.3.0.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/copy-props-1.3.0.tgz_1475931340264_0.49412796972319484"},"directories":{},"publish_time":1475931340505,"_cnpm_publish_time":1475931340505,"_hasShrinkwrap":false},"1.2.0":{"name":"copy-props","version":"1.2.0","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","devDependencies":{"chai":"^3.5.0","eslint":"^3.5.0","istanbul":"^0.4.5","lodash.merge":"^4.6.0","mocha":"^3.0.2","testrun":"^0.7.0"},"dependencies":{"lodash.assign":"^4.2.0","lodash.isplainobject":"^4.0.6","lodash.set":"^4.3.2"},"_id":"copy-props@1.2.0","_shasum":"7676e2a1e1b7f4fd8033c1f5182586da01a6ad57","_resolved":"file:copy-props-1.2.0.tar.gz","_from":"copy-props-1.2.0.tar.gz","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"7676e2a1e1b7f4fd8033c1f5182586da01a6ad57","size":10597,"noattachment":false,"key":"/copy-props/-/copy-props-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.2.0.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/copy-props-1.2.0.tgz_1474835328784_0.316410199040547"},"directories":{},"publish_time":1474835329035,"_cnpm_publish_time":1474835329035,"_hasShrinkwrap":false},"1.1.0":{"name":"copy-props","version":"1.1.0","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","devDependencies":{"chai":"^3.5.0","eslint":"^3.5.0","istanbul":"^0.4.5","lodash.merge":"^4.6.0","mocha":"^3.0.2","testrun":"^0.7.0"},"dependencies":{"lodash.assign":"^4.2.0","lodash.isplainobject":"^4.0.6","lodash.set":"^4.3.2"},"_id":"copy-props@1.1.0","_shasum":"b64e7f5b916689d4f01621cdade2816aef7b9214","_resolved":"file:copy-props-1.1.0.tar.gz","_from":"copy-props-1.1.0.tar.gz","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"b64e7f5b916689d4f01621cdade2816aef7b9214","size":7556,"noattachment":false,"key":"/copy-props/-/copy-props-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.1.0.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/copy-props-1.1.0.tgz_1474794107655_0.7565485909581184"},"directories":{},"publish_time":1474794110053,"_cnpm_publish_time":1474794110053,"_hasShrinkwrap":false},"1.0.2":{"name":"copy-props","version":"1.0.2","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","devDependencies":{"chai":"^3.5.0","eslint":"^3.5.0","istanbul":"^0.4.5","lodash.merge":"^4.6.0","mocha":"^3.0.2","testrun":"^0.7.0"},"dependencies":{"lodash.assign":"^4.2.0","lodash.isplainobject":"^4.0.6","lodash.set":"^4.3.2"},"_id":"copy-props@1.0.2","_shasum":"560460cd95eb8c32cc6157eb359eb94e5c6fcfa2","_resolved":"file:copy-props-1.0.2.tar.gz","_from":"copy-props-1.0.2.tar.gz","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"560460cd95eb8c32cc6157eb359eb94e5c6fcfa2","size":5524,"noattachment":false,"key":"/copy-props/-/copy-props-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.0.2.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/copy-props-1.0.2.tgz_1474295701630_0.10882602026686072"},"directories":{},"publish_time":1474295704855,"_cnpm_publish_time":1474295704855,"_hasShrinkwrap":false},"1.0.1":{"name":"copy-props","version":"1.0.1","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","devDependencies":{"chai":"^3.5.0","eslint":"^3.5.0","istanbul":"^0.4.5","lodash.merge":"^4.6.0","mocha":"^3.0.2","testrun":"^0.7.0"},"dependencies":{"lodash.isplainobject":"^4.0.6","lodash.set":"^4.3.2"},"_id":"copy-props@1.0.1","_shasum":"ea80e753abf9e71054dc95917a50128baa6aa20d","_resolved":"file:copy-props-1.0.1.tar.gz","_from":"copy-props-1.0.1.tar.gz","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"ea80e753abf9e71054dc95917a50128baa6aa20d","size":5468,"noattachment":false,"key":"/copy-props/-/copy-props-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.0.1.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/copy-props-1.0.1.tgz_1474244104777_0.8970527837518603"},"directories":{},"publish_time":1474244107869,"_cnpm_publish_time":1474244107869,"_hasShrinkwrap":false},"1.0.0":{"name":"copy-props","version":"1.0.0","description":"Copy properties deeply between two objects.","main":"index.js","files":["index.js","lib"],"scripts":{"lint":"eslint .","test":"mocha","coverage":"istanbul cover _mocha"},"repository":{"type":"git","url":"git+https://github.com/sttk/copy-props.git"},"keywords":["object","property","copy","deep","map","convert"],"author":{"name":"Takayuki Sato"},"license":"MIT","bugs":{"url":"https://github.com/sttk/copy-props/issues"},"homepage":"https://github.com/sttk/copy-props#readme","devDependencies":{"chai":"^3.5.0","eslint":"^3.5.0","istanbul":"^0.4.5","lodash.merge":"^4.6.0","mocha":"^3.0.2","testrun":"^0.7.0"},"dependencies":{"lodash.isplainobject":"^4.0.6","lodash.set":"^4.3.2"},"_id":"copy-props@1.0.0","_shasum":"dcbe69b0298df8d2b4863e40286be050c7ab5d71","_resolved":"file:copy-props-1.0.0.tar.gz","_from":"copy-props-1.0.0.tar.gz","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"sttk","email":"t110000508260@yahoo.co.jp"},"dist":{"shasum":"dcbe69b0298df8d2b4863e40286be050c7ab5d71","size":5493,"noattachment":false,"key":"/copy-props/-/copy-props-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/copy-props/download/copy-props-1.0.0.tgz"},"maintainers":[{"name":"phated","email":"blaine.bublitz@gmail.com"},{"name":"yocontra","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/copy-props-1.0.0.tgz_1474209049463_0.8443108666688204"},"directories":{},"publish_time":1474209049703,"_cnpm_publish_time":1474209049703,"_hasShrinkwrap":false}},"readme":"<p align=\"center\">\n  <a href=\"http://gulpjs.com\">\n    <img height=\"257\" width=\"114\" src=\"https://raw.githubusercontent.com/gulpjs/artwork/master/gulp-2x.png\">\n  </a>\n</p>\n\n# copy-props\n\n[![NPM version][npm-image]][npm-url] [![Downloads][downloads-image]][npm-url] [![Build Status][ci-image]][ci-url] [![Coveralls Status][coveralls-image]][coveralls-url]\n\nCopy properties between two objects deeply.\n\n## Install\n\nTo install from npm:\n\n```sh\n$ npm i copy-props --save\n```\n\n## Usage\n\nCopy _src_ to _dst_ simply (and return _dst_) :\n\n```js\nconst copyProps = require('copy-props');\n\nvar src = { a: 1, b: { b1: 'bbb' }, c: 'ccc' };\nvar dst = { a: 2, b: { b1: 'xxx', b2: 'yyy' } };\n\ncopyProps(src, dst);\n// => { a: 1, b: { b1: 'bbb', b2: 'yyy' }, c: 'ccc' }\n```\n\nCopy _src_ to _dst_ with property mapping (and return _dst_) :\n\n```js\nconst copyProps = require('copy-props');\n\nvar src = { a: 1, b: { b1: 'bbb' }, c: 'ccc', d: 'ddd' };\nvar dst = { f: { a: 2, b1: 'xxx', b2: 'yyy' }, e: 'zzz' };\n\ncopyProps(src, dst, {\n  a: 'f.a',\n  'b.b1': 'f.b1',\n  'b.b2': 'f.b2',\n  c: 'f.c',\n});\n// => { f: { a: 1, b1: 'bbb', b2: 'yyy', c: 'ccc' }, e: 'zzz' }\n```\n\nCopy _src_ to _dst_ with convert function (and return _dst_) :\n\n```js\nconst copyProps = require('copy-props');\n\nvar src = { a: 1, b: { b1: 'bbb' } };\nvar dst = { a: 0 };\n\ncopyProps(src, dst, function (srcInfo) {\n  if (srcInfo.keyChain === 'a') {\n    return srcInfo.value * 2;\n  }\n  if (srcInfo.keyChain === 'b.b1') {\n    return srcInfo.value.toUpperCase();\n  }\n});\n// => { a: 2, b: { b1: 'BBB' } }\n```\n\nCan use an array instead of a map as property mapping :\n\n```js\nconst copyProps = require('copy-props');\n\nvar src = { a: 1, b: { c: 'CCC' }, d: { e: 'EEE' } };\nvar dst = { a: 9, b: { c: 'xxx' }, d: { e: 'yyy' } };\nvar fromto = ['b.c', 'd.e'];\ncopyProps(src, dst, fromto);\n// => { a: 9, b: { c: 'CCC' }, d: { e: 'EEE' } }\n```\n\nCan copy reversively (from _dst_ to _src_) by reverse flag (and return _src_):\n\n```js\nconst copyProps = require('copy-props');\n\nvar src = { a: 1, b: { b1: 'bbb' }, c: 'ccc' };\nvar dst = { a: 2, b: { b1: 'xxx', b2: 'yyy' } };\n\ncopyProps(src, dst, true);\n// => { a: 2, b: { b1: 'xxx', b2: 'yyy' }, c: 'ccc' }\n```\n\n```js\nconst copyProps = require('copy-props');\n\nvar src = { a: 1, b: { b1: 'bbb' }, c: 'ccc', d: 'ddd' };\nvar dst = { f: { a: 2, b1: 'xxx', b2: 'yyy' }, e: 'zzz' };\n\ncopyProps(\n  src,\n  dst,\n  {\n    a: 'f.a',\n    'b.b2': 'f.b2',\n    c: 'f.c',\n  },\n  true\n);\n// => { a: 2, b: { b1: 'bbb', b2: 'yyy' }, c: 'ccc', d: 'ddd' }\n```\n\nIf a value of source property is undefined (when not using converter), or a result of converter is undefined (when using converter), the value is not copied.\n\n```js\nconst copyProps = require('copy-props');\n\nvar src = { a: 'A', b: undefined, c: null, d: 1 };\nvar dst = { a: 'a', b: 'b', c: 'c' };\n\ncopyProps(src, dst, function (srcInfo) {\n  if (srcInfo.keyChain === 'd') {\n    return undefined;\n  } else {\n    return srcInfo.value;\n  }\n});\n// => { a: 'A', b: 'b', c: null }\n```\n\nYou can operate the parent node object directly in converter.\n\n```js\nconst copyProps = require('copy-props');\n\nvar src = { a: 1, b: 2 };\nvar dst = {};\n\ncopyProps(src, dst, function (srcInfo, dstInfo) {\n  Object.defineProperty(dstInfo.parent, dstInfo.key, {\n    writable: false,\n    enumerable: true,\n    configurable: false,\n    value: srcInfo.value * 2,\n  });\n}); // => { a: 2, b: 4 }\n\ndst; // => { a: 2, b: 4 }\ndst.a = 9;\ndst; // -> { a: 2, b: 4 }\n```\n\n## API\n\n### <u>copyProps(src, dst [, fromto] [, converter] [, reverse]) => object</u>\n\nCopy properties of _src_ to _dst_ deeply.\nIf _fromto_ is given, it is able to copy between different properties.\nIf _converter_ is given, it is able to convert the terminal values.\n\n#### Parameters:\n\n| Parameter   |        Type         | Description                                                                                                                                                         |\n| :---------- | :-----------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| _src_       |       object        | A source object of copy.                                                                                                                                            |\n| _dst_       |       object        | A destinate object of copy.                                                                                                                                         |\n| _fromto_    | object &#124; array | An object mapping properties between _src_ and _dst_. (Optional)                                                                                                    |\n| _converter_ |      function       | A function to convert terminal values in _src_. (Optional)                                                                                                          |\n| _reverse_   |       boolean       | True, if copying reversively from dst to src and returns src object. `fromto` is also reversively used from value to key. This default value is `false`. (Optional) |\n\n#### Returns:\n\n_dst_ object after copying.\n\n**Type:** object\n\n- **Format of <i>fromto</i>**\n\n  _fromto_ is a non-nested key-value object. And the *key*s are property key chains of _src_ and the *value*s are property key chains of _dst_.\n  The key chain is a string which is concatenated property keys on each level with dots, like `'aaa.bbb.ccc'`.\n\n  The following example copys the value of `src.aaa.bbb.ccc` to `dst.xxx.yyy`.\n\n  ```js\n  copyProps(src, dst, {\n    'aaa.bbb.ccc': 'xxx.yyy',\n  });\n  ```\n\n  _fromto_ can be an array. In that case, the array works as a map which has pairs of same key and value.\n\n- **API of <i>converter</i>**\n\n  **<u>converter(srcInfo, dstInfo) : Any</u>**\n\n  _converter_ is a function to convert terminal values of propeerties of _src_.\n\n  **Parameters:**\n\n  | Parameter |  Type  | Description                                                       |\n  | :-------- | :----: | :---------------------------------------------------------------- |\n  | _srcInfo_ | object | An object which has informations about the current node of _src_. |\n  | _dstInfo_ | object | An object which has informations about the current node of _dst_. |\n\n  **Return:**\n\n  The converted value to be set as a destination property value. If this value is undefined, the destination property is not set to the destination node object.\n\n  **Type:** _Any_\n\n  - **Properties of <i>srcInfo</i> and <i>dstInfo</i>**\n\n    _srcInfo_ and _dstInfo_ has same properties, as follows:\n\n    | Property   |  Type  | Description                                             |\n    | :--------- | :----: | :------------------------------------------------------ |\n    | _value_    | _Any_  | The value of the current node.                          |\n    | _key_      | string | The key name of the current node.                       |\n    | _keyChain_ | string | The full key of the current node concatenated with dot. |\n    | _depth_    | number | The depth of the current node.                          |\n    | _parent_   | object | The parent node of the current node.                    |\n\n## License\n\nMIT\n\n<!-- prettier-ignore-start -->\n[downloads-image]: https://img.shields.io/npm/dm/copy-props.svg?style=flat-square\n[npm-url]: https://www.npmjs.org/package/copy-props\n[npm-image]: https://img.shields.io/npm/v/copy-props.svg?style=flat-square\n\n[ci-url]: https://github.com/gulpjs/copy-props/actions?query=workflow:dev\n[ci-image]: https://img.shields.io/github/workflow/status/gulpjs/copy-props/dev?style=flat-square\n\n[coveralls-url]: https://coveralls.io/r/gulpjs/copy-props\n[coveralls-image]: https://img.shields.io/coveralls/gulpjs/copy-props/master.svg\n<!-- prettier-ignore-end -->\n","_attachments":{},"homepage":"https://github.com/gulpjs/copy-prop#readme","bugs":{"url":"https://github.com/gulpjs/copy-prop/issues"},"license":"MIT"}