clone-extend

deep clone an object, return a new object and extend it

clone-extend

deep clone an object, return a new object and extend it

Install the module with: npm install clone-extend

var clone_extend = require('clone-extend');
clone_extend.awesome(); // "awesome" 

Just for use of Bai JSON extend mode.

var extend = require('clone-extend');
extend(obj1,obj2)

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.

v0.0.1 --- add main function 2013/6/8

Copyright (c) 2013 Tiankui
Licensed under the MIT license.