Skip to content

Repository files navigation

extend2

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

NPM versionNode.js CITest coverageKnown Vulnerabilitiesnpm download

Usage

constextend=require('extend2');// for deep cloneextend(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.

About

Simple function to extend objects

Resources

Stars

48 stars

Watchers

10 watching

Forks

Releases

Used by

Contributors

Languages