Skip to content

aaaristo/circularclone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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));

About

Clones circular object graphs in a non-recursive way

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published