UNPKG

@vercel/fetch-cached-dns

Version:

A decorator on top of `fetch` that caches the DNS query of the `hostname` of the passed URL

3 lines (2 loc) 67 B
// Used for testing exports.dnsCachedUrl = Symbol('dnsCachedUrl');