iteratively walk a DOM node
var walk = require("dom-walk") walk(document.body.childNodes, function (node) { console.log("node", node) })
npm install dom-walk