Open
Description
I just found out the browser has a DOMParser API that provides an interface for parsing XML and HTML.
This can be used instead of Cheerio to parse HTML in the webscraper. Reducing the build size because Cheerio is adding a whooping almost 400 KiB as a dependency in production builds.
The total build size for all javascript files is 438 KiB as of the last build run out of which Cheerio is taking almost almost 400 KiB 🤯
Activity