Lawsun d230cfbce0 first commit 1 năm trước cách đây
..
CHANGELOG.md d230cfbce0 first commit 1 năm trước cách đây
History.md d230cfbce0 first commit 1 năm trước cách đây
LICENSE d230cfbce0 first commit 1 năm trước cách đây
README.md d230cfbce0 first commit 1 năm trước cách đây
index.js d230cfbce0 first commit 1 năm trước cách đây
package.json d230cfbce0 first commit 1 năm trước cách đây

README.md

extend2

Forked from node-extend, the difference is overriding array as primitive when deep clone.

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Usage

const extend = require('extend2');

// for deep clone
extend(true, {}, object1, objectN);

License

node-extend is licensed under the MIT License.

Acknowledgements

All credit to the jQuery authors for perfecting this amazing utility.

Ported to Node.js by Stefan Thomas with contributions by Jonathan Buchanan and Jordan Harband.