gntr
Tree traversal using ES6 generators, influenced by pep-0255
Currently you must use the --harmony-generators
flag when running node 0.11.x to get access to generators.
Installation:
$ npm install gntr
Example:
var gntr = ;var root = gntr;var results = ; for let value of gntr results; console;// Would log ['F', 'B', 'A', 'D', 'C', 'E', 'G', 'I', 'H']