circularclone
v0.1.7
Published
Clones circular object graphs in a non-recursive way
Downloads
8
Maintainers
Readme
circularclone
Clones circular javascript object graphs, using circularjs to traverse them.
npm install circularclone
var clone= require('circularclone');
var a= { name: 'Andrea' },
e= { name: 'Elena' };
a.daughter= e;
e.dad= a;
console.log(clone(a));