2.0.0 • Published 5 years ago

walk-parse5 v2.0.0

Weekly downloads
1,409
License
MIT
Repository
github
Last release
5 years ago

walk-parse5 NPM Version Build Status

Recursively traverse a parse5 DOM tree.

Installation

Node.js >= 8 is required. To install, type this at the command line:

npm install walk-parse5

Usage

const walk = require('walk-parse5');

walk(documentOrNode, node => {
    // Optionally kill traversal
    return false;
});