You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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 🤯
The text was updated successfully, but these errors were encountered: