1.0.5 • Published 6 years ago
defaults-clone v1.0.5
defaults-clone
Deep defaults based on defaults-deep with cloned arguments using clone-deep.
for node.js and the browser with browserify.
also handles functions in the object tree nicely.
install
npm install --save defaults-cloneuse
var defaults = require('defaults-clone');
defaults({a: {one: 'one'}}, {a: {two: 'two'}})
//=> {a: {one: 'one', two: 'two'}};test
npm testlicense
MIT with code from defaults-deep wit MIT License