deepclone

Deep clone utility , together with circular reference detection and proper inheritance chain reconstruction

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
deepclone
1.0.28 years ago9 years agoMinified + gzip package size for deepclone in KB

Readme

DEEP CLONE

Deep clones arbitary javascript variable, taking care of circular dependencies and object proto chain.

Usage example

var clone = require("deepclone");
var date = new Date();
var clonedDate = clone(date);