An HTML parser for reshape based on parse5, featuring source location info and more robust node types.
Note: This project is in early development, and versioning is a little different. Read this for more details.
npm install reshape-parser -S
Note: This project is compatible with node v6+ only
const parser = require('reshape-parser') const html = '<p>hello world</p>' parser(html) // returns a reshape AST
No options are required, all are optional.
Name Description Default filename Attach a filename to thelocation
info in each node.
See the Reshape AST documentation for more information on the format.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4