npm.io
2.0.0 • Published 7 years ago

walk-parse5

Licence
MIT
Version
2.0.0
Deps
0
Size
5 kB
Vulns
0
Weekly
0
Stars
3

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;
});

Keywords