node package manager
Don’t reinvent the wheel. Reuse code within your team. Create a free org »

circularjs

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