```sh npm install --global cacheable-dns # or yarn global add cacheable-dns ```
npm install cacheable-dnssh
npm install --global cacheable-dns
or
yarn global add cacheable-dns
`Usage
`
Usage: cacheable-dns [options] Options:
-V, --version output the version number
--timeout (default: "30")
--port (default: "53")
--time-to-live
--stale-while-revalidate
--stale-if-error
--cache The filename of disk cache, memory cache is used by default
--log (default: "info")
-h, --help display help for command
``