2025-04-19 15:38:48 +08:00
..
2025-04-19 15:38:48 +08:00
2025-04-19 15:38:48 +08:00
2025-04-19 15:38:48 +08:00
2025-04-19 15:38:48 +08:00
2025-04-19 15:38:48 +08:00
2025-04-19 15:38:48 +08:00

dom-walk

iteratively walk a DOM node

Example

var walk = require("dom-walk")

walk(document.body.childNodes, function (node) {
    console.log("node", node)
})

Installation

npm install dom-walk

Contributors

  • Raynos

MIT Licenced