rss-parser
rss-parser copied to clipboard
Use fetch instead of XMLHttpRequest
I'd be interested in using this with Cloudflare Workers, but it does not work because the platform only has fetch.
You can just fetch it and then use parseString; I'm using this with Cloudflare Workers just fine.
That said, I agree with the sentiment that this package isn't providing options for configuring the underlying HTTP interface like pretty much every other API does.
You'll have to add Node compatability to your Wrangler configuration file, and HTTP requests won't work, but you just need it to build, not run the incompatible parts.
"compatibility_flags": [
"nodejs_compat"
],