anthonyshort-dom-walk

0.1.0 • Public • Published

dom-walk

Walk down a DOM tree

Installation

Install with component(1):

$ component install anthonyshort/dom-walk

API

var walk = require('walk');

walk(document.body, function(el, attrs, next){
  // Process the node
  next(); // Next node
}, function(){
  // Walked all nodes
});

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i anthonyshort-dom-walk

Weekly Downloads

2

Version

0.1.0

License

MIT

Last publish

Collaborators

  • anthonyshort