The DOMParser is not available on node.js. Which is a good library to parse HTML on node.js? The library should be efficient, easy to use and well-maintained.
One popular and well-maintained library for parsing HTML on Node.js is Cheerio. Cheerio is a fast, flexible, and lightweight implementation of the jQuery Core, designed specifically for server-side execution. It allows you to use jQuery-style syntax for manipulating and traversing the DOM in your Node.js scripts, and provides an easy-to-use API for parsing and querying HTML documents. Some other popular HTML parsing libraries for Node.js include jsdom and parse5.