This repository is a mirror of the component module bredele/clone. It has been modified to work with NPM+Browserify. You can install it using the command npm install npmcomponent/bredele-clone
. Please do not open issues or send pull requests against this repo. If you have issues with this repo, report it to npmcomponent.
clone
Clone Object/Array component
Installation
with component:
$ component install bredele/clone
with nodejs:
$ npm install bredele-clone
Usage
var clone = require('clone');
clone(obj);
Note
If you want to clone a regexp
or a date
, you should probably take a look at component-clone.
License
MIT