node-html-parser - npm
https://www.npmjs.com/package/node-html-parser
parseParse the data provided, and return the root of the generated DOM. 1. data, data to parse 2. options, parse options{ lowerCaseTagName: false, // convert tag name to lower case (hurts performance heavily) comment: false, // retrieve comments (hurts performance slightly) voidTag… validParse the data provided, return true if the given data is valid, and return false if not.
parseParse the data provided, and return the root of the generated DOM. 1. data, data to parse 2. options, parse options{ lowerCaseTagName: false, // convert tag name to lower case (hurts performance heavily) comment: false, // retrieve comments (hurts performance slightly) voidTag…
validParse the data provided, return true if the given data is valid, and return false if not.
DA: 42 PA: 15 MOZ Rank: 45