1.0.2 • Published 8 years ago
clone-it v1.0.2
clone-it
Deep clone JavaScript Arrays, Objects, Functions, Instances, Dates, Regular Expressions and Primitives. Takes care of circular dependency.
Usage
Install it from npm: $ npm install clone-it
and then use var cloneit = require('clone-it')
.
var cloned = cloneit(data);