domon-treeadapter
A parse5-compatible TreeAdapter for the DOMON format
See TreeAdapter at parse5 documentation
The DOMON format is just a lightweight DOM representation with no circular references, making it suitable for JSON etc.
Install
npm install domon-treeadapter
Usage
const parse5 = const Adapter = // create an adapter instanceconst adapter = const domonTree = parse5