3.0.0 • Published 4 years ago

deep-assign v3.0.0

Weekly downloads
488,289
License
MIT
Repository
github
Last release
4 years ago

deep-assign Build Status

Recursive Object.assign()

Install

$ npm install --save deep-assign

Usage

var deepAssign = require('deep-assign');

deepAssign({a: {b: 0}}, {a: {b: 1, c: 2}}, {a: {c: 3}});
//=> {a: {b: 1, c: 3}}

deepAssign(target, source, source, ...)

Recursively assigns own enumerable properties of source objects to the target object and returns the target object. Additional source objects will overwrite previous ones.

Related

License

MIT © Sindre Sorhus

three-fast@thebespokepixel/shoal-nodekoa2-middleware-slackerflipsheettwirlcardreact-native-web-dcrube-toolsgrommet-ocgrommet-phetagrommet-qrobin@thebespokepixel/xo-tidy@thebespokepixel/cordialsynaptix.jsaframe-sceneaframe-sesh3sesh-aframesesh-aframe-kitsesh-aframe2sesh-aframe4sesh-aframe5scene-aframe@weus/antd-tools@yusukehirao/webpagelint@zambezi/mocha-headless-chrome@xme/xm-vue-pro-tools@xme/xm-vue-ui-tools@xilution/xilution-ui-buildalibabacloud-tdsr-js-playeraframeaframe-slimadhoc-antd-toolsaframe-cvmb-gl-dir-swfantd-tools-compatiblefs-proxy@fast-ui/tooldbmdecorator-expressdefaultconfig@vadzim/react-native-webdt-toolsciscoestilocisco-estilobuild-utilsbtybuild-gradle-readerconfig-consulconjigconfenvcassandra-jpacautoncatstackcrathercsspackcustom-grommet-packageaws-valkyrie-clibabel-preset-mjs-babilibeatle-app-commonbeesightbee-pack-toolsbgood-clibiosan-toolsbluerpcbolt-onblueimp-mocha-chromebrain-clibrain-vue-cliaws-apigateway-proxy-localasync-fetch-helperassetinjector@sdl/delivery-ish-dd-webapp-gui@soldoc/soldoc@stagas/mocha-chrome@sparted/react-native-webdarvin-testing-frameworkdeppackdigabi-mocha-chromedextdynamic-configember-cli-updaterexpress-java-monetary-amount-deserializereslint-config-trueextendingextending-configestore-apiestore-frameworkestore-preprocessorethdeployethdeploy-environment-loaderfeathers-chat-vuex-copyfast-paper-toolcmakerco.vire.aframecan-migratecan-migrate-codemodsdynamic-styleguideeasy-page-toolelectron-screenshot-appeasybase-async-storageee-express
3.0.0

4 years ago

2.0.0

7 years ago

1.0.0

7 years ago