taoqf / node-html-parser

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

Enquiry #266

Open olawalejuwonm opened 9 months ago

olawalejuwonm commented 9 months ago

Can this library be used to remove all HTML tags leaving only the text alone? If yes, how?

taoqf commented 7 months ago

Try root.text