0.1.5 • Published 12 years ago

merle v0.1.5

Weekly downloads
66
License
-
Repository
github
Last release
12 years ago

merle Build Status

poor man's traverse, except merle includes inherited properties.

get it

example

var merle = require('merle');

merle(someObject, function(){

  console.log(this.name); // property name of someObject
  console.log(this.depth);
  console.log(this.value);
  console.log(this.path); // the array of property names that got us to this node.
  
  // if you return false the children of this node won't be walked
});
0.1.5

12 years ago

0.1.4

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago

0.1.1

12 years ago

0.1.0

12 years ago

0.0.2

12 years ago

0.0.1

12 years ago