taoqf / node-html-parser

A very fast HTML parser, generating a simplified DOM, with basic element query support.
MIT License
1.11k stars 107 forks source link

[Doc] Document DOM nodes in readme #110

Open KHCode opened 3 years ago

KHCode commented 3 years ago

I'm trying to understand the object that HTMLParser.parse() returns and I can't seem to find the schema in your README file. Am I just not seeing it? I currently have to use a bunch of console.logs to figure out what is inside this object.

KHCode commented 3 years ago

You know what, I reread the docs and I think all you're missing is a link to the MDN docs for DOM tree, I think that would be helpful.

taoqf commented 3 years ago

pr is welcomed