I’m looking to write an application in GJS that needs to parse HTML from web requests. In NodeJS I used JSDOM for this. What are my options in GJS?
Probably not good, to be honest.
If JSDOM or it’s dependencies don’t actually require node, but just an engine with compatible JS features, you may be able to write some simple wrappers to bridge it with GJS. Otherwise, it may be simpler to either find a “truly pure” JS library, or just write the functionality you need.