circularjs
v0.1.3
Published
Traverse circular javascript object graphs, in a non-recursive way
Downloads
895
Maintainers
Readme
circularjs
Traverse circular javascript object graphs in a non-recursive way.
npm install circularjs
var traverse= require('circularjs');
var a= { name: 'Andrea' },
e= { name: 'Elena' };
a.daughter= e;
e.dad= a;
traverse(a,console.log);
Linked projects
- circularclone: deep clone circular graphs
- GSON: serialize circular graphs