forwardemail / nodejs-dns-over-https-tangerine

Node.js DNS over HTTPS - :tangerine: Tangerine is the best drop-in replacement for dns.promises.Resolver using DNS over HTTPS ("DoH") via undici with built-in retries, timeouts, smart server rotation, AbortControllers, and caching support for multiple backends (with TTL and purge support). Made for @forwardemail.
https://forwardemail.net/docs/node-js-dns-over-https
MIT License
148 stars 8 forks source link

[feat] Default request function to node's native fetch #6

Closed gugu closed 1 year ago

gugu commented 1 year ago

Describe the feature

Latest nodejs includes native fetch, which is undici under hood. This change removes tangerine's dependency to undici

Checklist

gugu commented 1 year ago

I've read benchmark and native fetch for some reason is slower