walk-dag

walk a directed acyclic graph

dag-walk

walk a directed acyclic graph, given a key function, comparison function, find function, and a next function.

  var walk = dag(['HASH1', 'HASH2'], key, find, cmp, next)
 
  walk(null, function(errdata) {
    // data === undefined if no more items 
  })

create a dag walker using the following definitions:

MIT