node-html-parser
node-html-parser copied to clipboard
docs: `parse()` always adds a wrapper node [#285]
- For #285
Documents the fact that parse() adds a wrapper node.
Currently that's only hinted at in the example
const root = parse('<ul id="list"><li>Hello World</li></ul>');
console.log(root.firstChild.structure);