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.