node icon indicating copy to clipboard operation
node copied to clipboard

Use Fetch API instead of node's http(s) package

Open tyteen4a03 opened this issue 1 year ago • 3 comments

To enable compatibility with non-Node environments (e.g. Cloudflare Workers), it would be nice if this library can switch to using the Fetch API instead of node's http/https packages.

I had a glance at the code and I don't think there's anything within that requires usage of http or https.

tyteen4a03 avatar Oct 03 '23 18:10 tyteen4a03

Thanks, we could do that. Putting it on the agenda.

UmanShahzad avatar Oct 04 '23 07:10 UmanShahzad

+1 this. Would love to see it. Pretty good library other than that.

MerouaneBali-OscarsFarm avatar Feb 27 '24 20:02 MerouaneBali-OscarsFarm