Traverse circular javascript object graphs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
LICENSE
README.md
index.js
package.json

README.md

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
  • circular-region: Attach and detach javascript object from object graphs
  • circular-path: Navigates non-recursively into a circular javascript object graph giving back occurrences of a given path