{"_id":"cacheable-lookup","_rev":"2893175","name":"cacheable-lookup","description":"A cacheable dns.lookup(…) that respects TTL","dist-tags":{"latest":"7.0.0"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"time":{"modified":"2022-11-28T08:51:19.000Z","created":"2019-01-17T19:53:13.883Z","7.0.0":"2022-09-27T07:11:14.775Z","6.1.0":"2022-08-05T23:01:11.033Z","6.0.4":"2021-10-18T09:07:37.053Z","6.0.3":"2021-10-12T08:48:33.468Z","6.0.2":"2021-10-05T11:20:13.100Z","6.0.1":"2021-08-20T20:09:21.146Z","6.0.0":"2021-02-17T13:11:55.517Z","5.0.4":"2020-12-08T18:17:43.131Z","5.0.3":"2020-05-11T14:01:01.484Z","5.0.2":"2020-05-10T20:35:35.360Z","5.0.1":"2020-05-09T18:05:38.379Z","5.0.0":"2020-05-09T17:38:41.320Z","4.3.0":"2020-05-08T10:08:23.413Z","4.2.3":"2020-05-04T09:07:15.904Z","4.2.2":"2020-04-28T14:19:10.117Z","4.2.1":"2020-04-27T16:13:45.345Z","4.2.0":"2020-04-27T13:22:38.918Z","2.0.1":"2020-03-20T10:50:35.825Z","3.2.2":"2020-03-20T10:46:23.511Z","4.1.2":"2020-03-20T10:41:08.161Z","4.1.1":"2020-03-15T20:45:38.027Z","4.1.0":"2020-03-14T20:35:06.637Z","4.0.1":"2020-03-14T13:30:51.611Z","4.0.0":"2020-03-14T11:24:20.063Z","3.2.1":"2020-03-04T17:14:40.258Z","3.2.0":"2020-03-04T16:58:39.959Z","3.1.0":"2020-02-04T16:07:06.608Z","3.0.0":"2020-02-01T15:56:00.104Z","2.0.0":"2020-01-31T19:53:21.058Z","1.0.0":"2020-01-29T16:36:54.915Z","0.2.2":"2020-01-25T04:38:44.570Z","0.2.1":"2019-04-01T18:16:10.521Z","0.2.0":"2019-04-01T18:06:40.358Z","0.1.0":"2019-01-17T19:53:13.883Z"},"users":{},"author":{"name":"Szymon Marczak"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"versions":{"7.0.0":{"name":"cacheable-lookup","version":"7.0.0","description":"A cacheable dns.lookup(…) that respects TTL","engines":{"node":">=14.16"},"type":"module","exports":{"types":"./index.d.ts","default":"./source/index.js"},"scripts":{"//test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd","test":"tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^4.3.3","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","quibble":"^0.6.14","quick-lru":"^5.1.0","tsd":"^0.11.0","xo":"^0.25.3"},"ava":{"nodeArguments":["--loader=quibble"]},"xo":{"rules":{"unicorn/import-index":"off","import/extensions":"off","import/no-useless-path-segments":"off"}},"types":"./index.d.ts","gitHead":"649ebeb16856e321ac7dc8026759cfffefcd1edb","_id":"cacheable-lookup@7.0.0","_nodeVersion":"14.19.3","_npmVersion":"8.3.2","dist":{"shasum":"3476a8215d046e5a3202a9209dd13fec1f933a27","size":7586,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-7.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_7.0.0_1664262674590_0.73013195329316"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-09-27T07:11:26.721Z","publish_time":1664262674775,"_cnpm_publish_time":1664262674775},"6.1.0":{"name":"cacheable-lookup","version":"6.1.0","description":"A cacheable dns.lookup(…) that respects TTL","engines":{"node":">=10.6.0"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"5b08a3610a5ec1328da583a6327111428ff85c42","_id":"cacheable-lookup@6.1.0","_nodeVersion":"16.15.0","_npmVersion":"8.5.3","dist":{"shasum":"0330a543471c61faa4e9035db583aad753b36385","size":7479,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-6.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-6.1.0.tgz"},"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_6.1.0_1659740470792_0.8630484021261038"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2022-08-05T23:12:56.271Z","publish_time":1659740471033,"_cnpm_publish_time":1659740471033},"6.0.4":{"name":"cacheable-lookup","version":"6.0.4","description":"A cacheable dns.lookup(…) that respects TTL","engines":{"node":">=10.6.0"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"45b18daf9f0c8406691fad81188e956641e2309d","_id":"cacheable-lookup@6.0.4","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"65c0e51721bb7f9f2cb513aed6da4a1b93ad7dc8","size":7365,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-6.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-6.0.4.tgz"},"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_6.0.4_1634548056734_0.45625603265953796"},"_hasShrinkwrap":false,"publish_time":1634548057053,"_cnpm_publish_time":1634548057053},"6.0.3":{"name":"cacheable-lookup","version":"6.0.3","description":"A cacheable dns.lookup(…) that respects TTL","engines":{"node":">=10.6.0"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"4a22f87bc09ce8653ccd98859a469b0b248a5da2","_id":"cacheable-lookup@6.0.3","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"61d6171f6818fab230666b11f7cf3f5a48df7818","size":7324,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-6.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-6.0.3.tgz"},"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_6.0.3_1634028513377_0.27913642657503046"},"_hasShrinkwrap":false,"publish_time":1634028513468,"_cnpm_publish_time":1634028513468},"6.0.2":{"name":"cacheable-lookup","version":"6.0.2","description":"A cacheable dns.lookup(…) that respects TTL","engines":{"node":">=10.6.0"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"8db73ed46a14d6fab5274316de36cb6c33991afb","_id":"cacheable-lookup@6.0.2","_nodeVersion":"16.10.0","_npmVersion":"7.24.0","dist":{"shasum":"8df03d6239c91bb9f6394700d7ba4a100abbad67","size":7299,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-6.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-6.0.2.tgz"},"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_6.0.2_1633432812977_0.5894009507615305"},"_hasShrinkwrap":false,"publish_time":1633432813100,"_cnpm_publish_time":1633432813100},"6.0.1":{"name":"cacheable-lookup","version":"6.0.1","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10.6.0"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"06fd8fca0c7b9067c18d52e8e7d82fcec96b0744","_id":"cacheable-lookup@6.0.1","_nodeVersion":"16.6.2","_npmVersion":"7.20.3","dist":{"shasum":"f32ab50c3212302d9f49aa094c8a7593c162af7c","size":7274,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-6.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-6.0.1.tgz"},"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_6.0.1_1629490161004_0.8804830957990255"},"_hasShrinkwrap":false,"publish_time":1629490161146,"_cnpm_publish_time":1629490161146},"6.0.0":{"name":"cacheable-lookup","version":"6.0.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10.6.0"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"5960e1d98c61f9edd6873eb03050a12122f24af4","_id":"cacheable-lookup@6.0.0","_nodeVersion":"15.7.0","_npmVersion":"7.4.3","dist":{"shasum":"6fd7e364a0929ee50af00843aaf6e31b9b9f200e","size":7292,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-6.0.0.tgz"},"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_6.0.0_1613567515231_0.9649089626127523"},"_hasShrinkwrap":false,"publish_time":1613567515517,"_cnpm_publish_time":1613567515517},"5.0.4":{"name":"cacheable-lookup","version":"5.0.4","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10.6.0"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"c257b0489b37385f8dc18aa5512a6e748effea2f","_id":"cacheable-lookup@5.0.4","_nodeVersion":"14.12.0","_npmVersion":"6.14.8","dist":{"shasum":"5a6b865b2c44357be3d5ebc2a467b032719a7005","size":7231,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-5.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-5.0.4.tgz"},"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_5.0.4_1607451463016_0.7206932720950916"},"_hasShrinkwrap":false,"publish_time":1607451463131,"_cnpm_publish_time":1607451463131},"5.0.3":{"name":"cacheable-lookup","version":"5.0.3","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"c46a5771d9d3a6a59537ecf6b7de786faab5eb98","_id":"cacheable-lookup@5.0.3","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"shasum":"049fdc59dffdd4fc285e8f4f82936591bd59fec3","size":7217,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-5.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-5.0.3.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_5.0.3_1589205653888_0.3739318147341064"},"_hasShrinkwrap":false,"publish_time":1589205661484,"_cnpm_publish_time":1589205661484},"5.0.2":{"name":"cacheable-lookup","version":"5.0.2","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"392e809c5706d5838f13be732bab69a7f3bc1155","_id":"cacheable-lookup@5.0.2","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"shasum":"864ea350ab89b7c940e93896a1fb604de4b60927","size":7353,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-5.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-5.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_5.0.2_1589142935232_0.727981832368094"},"_hasShrinkwrap":false,"publish_time":1589142935360,"_cnpm_publish_time":1589142935360},"5.0.1":{"name":"cacheable-lookup","version":"5.0.1","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"c231865e7ccedac0fb4d93bee97ccf00dcd270dd","_id":"cacheable-lookup@5.0.1","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"shasum":"ed74fa2b7c25eda0f45f60ed9ecdef2c831e309a","size":7334,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-5.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-5.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_5.0.1_1589047538226_0.3055773516401603"},"_hasShrinkwrap":false,"publish_time":1589047538379,"_cnpm_publish_time":1589047538379},"5.0.0":{"name":"cacheable-lookup","version":"5.0.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.8.2","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","quick-lru":"^5.1.0","xo":"^0.25.3"},"gitHead":"fb377ef17533221f4bc23059ac9d30b55eab4e85","_id":"cacheable-lookup@5.0.0","_nodeVersion":"14.2.0","_npmVersion":"6.14.4","dist":{"shasum":"092b8d2e06e09ae49e2e3a2d4344318f33989571","size":7456,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-5.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_5.0.0_1589045921203_0.5331031062874094"},"_hasShrinkwrap":false,"publish_time":1589045921320,"_cnpm_publish_time":1589045921320},"4.3.0":{"name":"cacheable-lookup","version":"4.3.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.7.1","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"20bc56c49e4dbbacc3237dfee1b3797e207e716d","_id":"cacheable-lookup@4.3.0","_nodeVersion":"10.20.1","_npmVersion":"6.14.4","dist":{"shasum":"86ff1cb38f648cc6aba28feffe008f808b403550","size":7890,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.3.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.3.0_1588932503310_0.4138340296997358"},"_hasShrinkwrap":false,"publish_time":1588932503413,"_cnpm_publish_time":1588932503413},"4.2.3":{"name":"cacheable-lookup","version":"4.2.3","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.7.1","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"9973e76b936e58d1597f829c8f393061490817d2","_id":"cacheable-lookup@4.2.3","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"8d8a6021addb6b0d21711ba80797cdc636761cc3","size":7642,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.2.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.2.3.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.2.3_1588583235810_0.4958221990551972"},"_hasShrinkwrap":false,"publish_time":1588583235904,"_cnpm_publish_time":1588583235904},"4.2.2":{"name":"cacheable-lookup","version":"4.2.2","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.7.1","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"6ed7e37ccffe7cda06140d20d6b0262e97bf36eb","_id":"cacheable-lookup@4.2.2","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"shasum":"7fee1d25d9902382a6b8966c164349977168ed4f","size":7589,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.2.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.2.2_1588083550011_0.9413656738650971"},"_hasShrinkwrap":false,"publish_time":1588083550117,"_cnpm_publish_time":1588083550117},"4.2.1":{"name":"cacheable-lookup","version":"4.2.1","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.7.1","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"68d8b77608f9304a3138302364de3b30aa806b07","_id":"cacheable-lookup@4.2.1","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"shasum":"3449825d21b971e7971c4fd42b89522deb3a6d7f","size":7711,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.2.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.2.1_1588004025242_0.22155291334598215"},"_hasShrinkwrap":false,"publish_time":1588004025345,"_cnpm_publish_time":1588004025345},"4.2.0":{"name":"cacheable-lookup","version":"4.2.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.7.1","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"49c193b15446baac2679751ea001b1915d474c78","_id":"cacheable-lookup@4.2.0","_nodeVersion":"13.13.0","_npmVersion":"6.14.4","dist":{"shasum":"24a725d2a9cf6822c0cc6c0ea66d1fe16edd87ae","size":7532,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.2.0_1587993758751_0.22260147104762384"},"_hasShrinkwrap":false,"publish_time":1587993758918,"_cnpm_publish_time":1587993758918},"2.0.1":{"name":"cacheable-lookup","version":"2.0.1","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"dependencies":{"@types/keyv":"^3.1.1","keyv":"^4.0.0"},"gitHead":"4c1c3a0ce02137fa81e57ac90f2f0891f7766e42","_id":"cacheable-lookup@2.0.1","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"87be64a18b925234875e10a9bb1ebca4adce6b38","size":5554,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-2.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_2.0.1_1584701435696_0.8034821789790332"},"_hasShrinkwrap":false,"publish_time":1584701435825,"_cnpm_publish_time":1584701435825},"3.2.2":{"name":"cacheable-lookup","version":"3.2.2","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"bc086da69ca0c774ee33672c2be72f65aa807c5b","_id":"cacheable-lookup@3.2.2","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"ab03bfb2def072182063a0d1115cedb51651a272","size":6748,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-3.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-3.2.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_3.2.2_1584701183402_0.9022463835340191"},"_hasShrinkwrap":false,"publish_time":1584701183511,"_cnpm_publish_time":1584701183511},"4.1.2":{"name":"cacheable-lookup","version":"4.1.2","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc --reporter=lcovonly --reporter=text ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"44d2816731a94b7cad4d249d2b2f4d7f792c06eb","_id":"cacheable-lookup@4.1.2","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"07c90b15910d4a5be6f3fa1a0ce73dfb9c192dc9","size":7238,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.1.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.1.2_1584700868048_0.4442040801091358"},"_hasShrinkwrap":false,"publish_time":1584700868161,"_cnpm_publish_time":1584700868161},"4.1.1":{"name":"cacheable-lookup","version":"4.1.1","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"a292a835c9bf199eb04113590762f6dc9aeff4f7","_id":"cacheable-lookup@4.1.1","_nodeVersion":"13.8.0","_npmVersion":"6.13.6","dist":{"shasum":"f5e879489ce2cc3b2eb2c6e438458e6cadd39bfc","size":7220,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.1.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.1.1_1584305137878_0.9799931414849918"},"_hasShrinkwrap":false,"publish_time":1584305138027,"_cnpm_publish_time":1584305138027},"4.1.0":{"name":"cacheable-lookup","version":"4.1.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","keyv":"^4.0.0","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"55381fcd7b7a29dbb5c193629ed0a7fab8ffe522","_id":"cacheable-lookup@4.1.0","_nodeVersion":"13.8.0","_npmVersion":"6.13.6","dist":{"shasum":"80398ebd570feba0c7a5bc6941638b9e13088540","size":7117,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.1.0_1584218106503_0.011769615797013744"},"_hasShrinkwrap":false,"publish_time":1584218106637,"_cnpm_publish_time":1584218106637},"4.0.1":{"name":"cacheable-lookup","version":"4.0.1","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"index.d.ts","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"4e64e777d18abc1e6fa0417faa35f0ef0868a24a","_id":"cacheable-lookup@4.0.1","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"shasum":"9f7e16a283b04dfbad4c312f16e7dcc96bb6ae6b","size":6840,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.0.1_1584192651475_0.260260229072119"},"_hasShrinkwrap":false,"publish_time":1584192651611,"_cnpm_publish_time":1584192651611},"4.0.0":{"name":"cacheable-lookup","version":"4.0.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"source/index.js","types":"source/index.d.ts","scripts":{"test":"xo && nyc ava"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"75d7c77bd91dca426ecc0fea0808780fbaa0c1ac","_id":"cacheable-lookup@4.0.0","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"shasum":"cc07d1627fb9c3b4d024bf5d1fe8edbca8f1efdd","size":7057,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-4.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_4.0.0_1584185059932_0.03796973477926646"},"_hasShrinkwrap":false,"publish_time":1584185060063,"_cnpm_publish_time":1584185060063},"3.2.1":{"name":"cacheable-lookup","version":"3.2.1","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"bb1e839194dd996d22928fdfb9485c3ce266e429","_id":"cacheable-lookup@3.2.1","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"608c9c5340f0d44cd9d981336933ace4431c4111","size":6760,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-3.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-3.2.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_3.2.1_1583342080096_0.5672910514113534"},"_hasShrinkwrap":false,"publish_time":1583342080258,"_cnpm_publish_time":1583342080258},"3.2.0":{"name":"cacheable-lookup","version":"3.2.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"b7b4ee09e5c3d862972a8b103ebc9f82f02170a4","_id":"cacheable-lookup@3.2.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"77c3be64c90c2ce676ff04b467972b3c49408441","size":6216,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-3.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-3.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_3.2.0_1583341119846_0.05116109812516112"},"_hasShrinkwrap":false,"publish_time":1583341119959,"_cnpm_publish_time":1583341119959},"3.1.0":{"name":"cacheable-lookup","version":"3.1.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"469caf1ca22de60bf5c52699357d90ff6033b92a","_id":"cacheable-lookup@3.1.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"188474d3f0b26560cd51d56754efd57a76e0a039","size":5972,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-3.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_3.1.0_1580832426459_0.3096301271742192"},"_hasShrinkwrap":false,"publish_time":1580832426608,"_cnpm_publish_time":1580832426608},"3.0.0":{"name":"cacheable-lookup","version":"3.0.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"gitHead":"3b30a244b999df3c7ab80fe16ce722dae4ea4a87","_id":"cacheable-lookup@3.0.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"e76177abbf13e44ecb913669ce398025f8987aff","size":5822,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_3.0.0_1580572559991_0.5438489426454716"},"_hasShrinkwrap":false,"publish_time":1580572560104,"_cnpm_publish_time":1580572560104},"2.0.0":{"name":"cacheable-lookup","version":"2.0.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"dependencies":{"keyv":"^4.0.0"},"gitHead":"f9bac24cc93ce0674692cfe15a69a6c08d79e636","_id":"cacheable-lookup@2.0.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"shasum":"33b1e56f17507f5cf9bb46075112d65473fb7713","size":5575,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_2.0.0_1580500400917_0.23777133432245812"},"_hasShrinkwrap":false,"publish_time":1580500401058,"_cnpm_publish_time":1580500401058},"1.0.0":{"name":"cacheable-lookup","version":"1.0.0","description":"A cacheable dns.lookup(…) that respects the TTL","engines":{"node":">=10"},"main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.1","ava":"^3.1.0","benchmark":"^2.1.4","coveralls":"^3.0.9","nyc":"^15.0.0","proxyquire":"^2.1.3","tsd":"^0.11.0","xo":"^0.25.3"},"dependencies":{"keyv":"^4.0.0"},"gitHead":"bd8c1bd495a617df397ad9ae23dd01a52d17322e","_id":"cacheable-lookup@1.0.0","_nodeVersion":"10.17.0","_npmVersion":"6.11.3","dist":{"shasum":"ae877296b7b43b720e4a4554c47ec85e74d0932a","size":5388,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_1.0.0_1580315814782_0.06950894149502052"},"_hasShrinkwrap":false,"publish_time":1580315814915,"_cnpm_publish_time":1580315814915},"0.2.2":{"name":"cacheable-lookup","version":"0.2.2","description":"A cacheable dns.lookup(…) that respects the TTL","main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.0","ava":"^3.0.0","benchmark":"^2.1.4","coveralls":"^3.0.2","nyc":"^15.0.0","proxyquire":"^2.1.0","tsd":"^0.11.0","xo":"^0.25.3"},"dependencies":{"keyv":"^4.0.0"},"gitHead":"e1e56e24ef33e160734ecc1f1da9a38bfff20cac","_id":"cacheable-lookup@0.2.2","_nodeVersion":"13.0.0","_npmVersion":"6.12.0","dist":{"shasum":"5db9a480af3c55494e0a8e57c3c5095c3d314dd3","size":4952,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-0.2.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-0.2.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_0.2.2_1579927124439_0.3022957951910936"},"_hasShrinkwrap":false,"publish_time":1579927124570,"_cnpm_publish_time":1579927124570},"0.2.1":{"name":"cacheable-lookup","version":"0.2.1","description":"A cacheable dns.lookup(…) that respects the TTL","main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.0","ava":"^1.0.1","benchmark":"^2.1.4","coveralls":"^3.0.2","microtime":"^2.1.8","nyc":"^13.1.0","proxyquire":"^2.1.0","tsd":"^0.7.1","xo":"^0.23.0"},"dependencies":{"keyv":"^3.1.0"},"gitHead":"d97180944340be962e6cbfee2afe3e4994a89b82","_id":"cacheable-lookup@0.2.1","_nodeVersion":"11.6.0","_npmVersion":"6.9.0","dist":{"shasum":"f474ae2c686667d7ea08c43409ad31b2b31b26c2","size":4994,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-0.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-0.2.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_0.2.1_1554142570242_0.06472356376724542"},"_hasShrinkwrap":false,"publish_time":1554142570521,"_cnpm_publish_time":1554142570521},"0.2.0":{"name":"cacheable-lookup","version":"0.2.0","description":"A cacheable dns.lookup(…) that respects the TTL","main":"index.js","scripts":{"test":"xo && nyc ava && tsd"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"@types/keyv":"^3.1.0","ava":"^1.0.1","benchmark":"^2.1.4","coveralls":"^3.0.2","microtime":"^2.1.8","nyc":"^13.1.0","proxyquire":"^2.1.0","tsd":"^0.7.1","xo":"^0.23.0"},"dependencies":{"keyv":"^3.1.0"},"gitHead":"ebecd3e27b4885f3582376b51b8dcbd124c2c505","_id":"cacheable-lookup@0.2.0","_nodeVersion":"11.6.0","_npmVersion":"6.9.0","dist":{"shasum":"dc2e48ea20fbc8a480dce47923eac88d124ef7ee","size":4994,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-0.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-0.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_0.2.0_1554142000107_0.96803338430275"},"_hasShrinkwrap":false,"publish_time":1554142000358,"_cnpm_publish_time":1554142000358},"0.1.0":{"name":"cacheable-lookup","version":"0.1.0","description":"A cacheable dns.lookup(…) that respects the TTL","main":"index.js","scripts":{"test":"xo && nyc ava"},"repository":{"type":"git","url":"git+https://github.com/szmarczak/cacheable-lookup.git"},"keywords":["dns","lookup","cacheable","ttl"],"author":{"name":"Szymon Marczak"},"license":"MIT","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","devDependencies":{"ava":"^1.0.1","benchmark":"^2.1.4","coveralls":"^3.0.2","microtime":"^2.1.8","nyc":"^13.1.0","proxyquire":"^2.1.0","xo":"^0.23.0"},"dependencies":{"keyv":"^3.1.0"},"gitHead":"4eedc428c2894c4f3cd4166f36955364c2913be8","_id":"cacheable-lookup@0.1.0","_npmVersion":"6.5.0-next.0","_nodeVersion":"11.6.0","_npmUser":{"name":"szmarczak","email":"sz.marczak@gmail.com"},"dist":{"shasum":"d7d1696bbc3c31159586b512542ae25e636a1cd3","size":4154,"noattachment":false,"key":"/cacheable-lookup/-/cacheable-lookup-0.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/cacheable-lookup/download/cacheable-lookup-0.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""},{"name":"szmarczak","email":"sz.marczak@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/cacheable-lookup_0.1.0_1547754793780_0.23115665683265574"},"_hasShrinkwrap":false,"publish_time":1547754793883,"_cnpm_publish_time":1547754793883}},"readme":"# cacheable-lookup\n\n> A cacheable [`dns.lookup(…)`](https://nodejs.org/api/dns.html#dns_dns_lookup_hostname_options_callback) that respects TTL :tada:\n\n[![Node CI](https://github.com/szmarczak/cacheable-lookup/workflows/Node%20CI/badge.svg)](https://github.com/szmarczak/cacheable-lookup/actions)\n[![codecov](https://codecov.io/gh/szmarczak/cacheable-lookup/branch/master/graph/badge.svg)](https://codecov.io/gh/szmarczak/cacheable-lookup)\n[![npm](https://img.shields.io/npm/dm/cacheable-lookup.svg)](https://www.npmjs.com/package/cacheable-lookup)\n[![install size](https://packagephobia.now.sh/badge?p=cacheable-lookup)](https://packagephobia.now.sh/result?p=cacheable-lookup)\n\nMaking lots of HTTP requests? You can save some time by caching DNS lookups :zap:\n\n## Usage\n\n### Using the `lookup` option\n\n```js\nimport http from 'node:http';\nimport CacheableLookup from 'cacheable-lookup';\n\nconst cacheable = new CacheableLookup();\n\nhttp.get('http://example.com', {lookup: cacheable.lookup}, response => {\n\t// Handle the response here\n});\n```\n\n### Attaching CacheableLookup to an Agent\n\n```js\nimport http from 'node:http';\nimport https from 'node:https';\nimport CacheableLookup from 'cacheable-lookup';\n\nconst cacheable = new CacheableLookup();\n\ncacheable.install(http.globalAgent);\ncacheable.install(https.globalAgent);\n\nhttp.get('http://example.com', response => {\n\t// Handle the response here\n});\n```\n\n## API\n\n### new CacheableLookup(options)\n\nReturns a new instance of `CacheableLookup`.\n\n#### options\n\nType: `object`\\\nDefault: `{}`\n\nOptions used to cache the DNS lookups.\n\n##### cache\n\nType: `Map` | [`Keyv`](https://github.com/lukechilds/keyv/)\\\nDefault: `new Map()`\n\nCustom cache instance. If `undefined`, it will create a new one.\n\n**Note**: If you decide to use Keyv instead of the native implementation, the performance will drop by 10x. Memory leaks may occur as it doesn't provide any way to remove all the deprecated values at once.\n\n**Tip**: [`QuickLRU`](https://github.com/sindresorhus/quick-lru) is fully compatible with the Map API, you can use it to limit the amount of cached entries. Example:\n\n```js\nimport http from 'node:http';\nimport CacheableLookup from 'cacheable-lookup';\nimport QuickLRU from 'quick-lru';\n\nconst cacheable = new CacheableLookup({\n\tcache: new QuickLRU({maxSize: 1000})\n});\n\nhttp.get('http://example.com', {lookup: cacheable.lookup}, response => {\n\t// Handle the response here\n});\n```\n\n##### options.maxTtl\n\nType: `number`\\\nDefault: `Infinity`\n\nThe maximum lifetime of the entries received from the specifed DNS server (TTL in seconds).\n\nIf set to `0`, it will make a new DNS query each time.\n\n**Pro Tip**: This shouldn't be lower than your DNS server response time in order to prevent bottlenecks. For example, if you use Cloudflare, this value should be greater than `0.01`.\n\n##### options.fallbackDuration\n\nType: `number`\\\nDefault: `3600` (1 hour)\n\nWhen the DNS server responds with `ENOTFOUND` or `ENODATA` and the OS reports that the entry is available, it will use `dns.lookup(...)` directly for the requested hostnames for the specified amount of time (in seconds).\n\n**Note**: You should avoid setting this to `0` unless the provided DNS servers' database is limited to few domains.\n\n##### options.errorTtl\n\nType: `number`\\\nDefault: `0.15`\n\nThe time how long it needs to remember queries that threw `ENOTFOUND` or `ENODATA` (TTL in seconds).\n\n**Note**: This option is independent, `options.maxTtl` does not affect this.\n\n**Pro Tip**: This shouldn't be lower than your DNS server response time in order to prevent bottlenecks. For example, if you use Cloudflare, this value should be greater than `0.01`.\n\n##### options.resolver\n\nType: `dns.Resolver | dns.promises.Resolver`\\\nDefault: [`new dns.promises.Resolver()`](https://nodejs.org/api/dns.html#dns_class_dns_resolver)\n\nAn instance of [DNS Resolver](https://nodejs.org/api/dns.html#dns_class_dns_resolver) used to make DNS queries.\n\n##### options.lookup\n\nType: `Function`\\\nDefault: [`dns.lookup`](https://nodejs.org/api/dns.html#dns_dns_lookup_hostname_options_callback)\n\nThe fallback function to use when the DNS server responds with `ENOTFOUND` or `ENODATA`.\n\nIf you don't query internal hostnames (such as `localhost`, `database.local` etc.), it is strongly recommended to set this to `false`.\n\n### Entry object\n\nType: `object`\n\n#### address\n\nType: `string`\n\nThe IP address (can be an IPv4 or IPv6 address).\n\n#### family\n\nType: `number`\n\nThe IP family (`4` or `6`).\n\n##### expires\n\nType: `number`\n\n**Note**: This is not present when falling back to `dns.lookup(...)`!\n\nThe timestamp (`Date.now() + ttl * 1000`) when the entry expires.\n\n#### ttl\n\n**Note**: This is not present when falling back to `dns.lookup(...)`!\n\nThe time in seconds for its lifetime.\n\n#### source\n\n**Note**: This is not present when falling back to `dns.lookup(...)`!\n\nWhether this entry was loaded from the cache or came from a query (`cache` or `query`)\n\n### Entry object (callback-style)\n\nWhen `options.all` is `false`, then `callback(error, address, family, expires, ttl)` is called.\\\nWhen `options.all` is `true`, then `callback(error, entries)` is called.\n\n### CacheableLookup instance\n\n#### servers\n\nType: `Array`\n\nThe DNS servers used to make queries. Can be overridden - doing so will clear the cache.\n\n#### [lookup(hostname, options, callback)](https://nodejs.org/api/dns.html#dns_dns_lookup_hostname_options_callback)\n\n#### lookupAsync(hostname, options)\n\nThe asynchronous version of `dns.lookup(…)`.\n\nReturns an [entry object](#entry-object).\\\nIf `options.all` is true, returns an array of entry objects.\n\n##### hostname\n\nType: `string`\n\n##### options\n\nType: `object`\n\nThe same as the [`dns.lookup(…)`](https://nodejs.org/api/dns.html#dns_dns_lookup_hostname_options_callback) options.\n\n#### query(hostname)\n\nAn asynchronous function which returns cached DNS lookup entries.\\\nThis is the base for `lookupAsync(hostname, options)` and `lookup(hostname, options, callback)`.\n\n**Note**: This function has no options.\n\nReturns an array of objects with `address`, `family`, `ttl` and `expires` properties.\n\n#### queryAndCache(hostname)\n\nAn asynchronous function which makes two DNS queries: A and AAAA. The result is cached.\\\nThis is used by `query(hostname)` if no entry in the database is present.\n\nReturns an array of objects with `address`, `family`, `ttl` and `expires` properties.\n\n#### updateInterfaceInfo()\n\nUpdates interface info. For example, you need to run this when you plug or unplug your WiFi driver.\n\n**Note:** Running `updateInterfaceInfo()` will trigger `clear()` only on network interface removal.\n\n#### clear(hostname?)\n\nClears the cache for the given hostname. If the hostname argument is not present, the entire cache will be emptied.\n\n## High performance\n\nPerformed on:\n- Query: `example.com`\n- CPU: i7-7700k\n- CPU governor: performance\n\n```\nCacheableLookup#lookupAsync                x 2,896,251 ops/sec ±1.07% (85 runs sampled)\nCacheableLookup#lookupAsync.all            x 2,842,664 ops/sec ±1.11% (88 runs sampled)\nCacheableLookup#lookupAsync.all.ADDRCONFIG x 2,598,283 ops/sec ±1.21% (88 runs sampled)\nCacheableLookup#lookup                     x 2,565,913 ops/sec ±1.56% (85 runs sampled)\nCacheableLookup#lookup.all                 x 2,609,039 ops/sec ±1.01% (86 runs sampled)\nCacheableLookup#lookup.all.ADDRCONFIG      x 2,416,242 ops/sec ±0.89% (85 runs sampled)\ndns#lookup                                 x 7,272     ops/sec ±0.36% (86 runs sampled)\ndns#lookup.all                             x 7,249     ops/sec ±0.40% (86 runs sampled)\ndns#lookup.all.ADDRCONFIG                  x 5,693     ops/sec ±0.28% (85 runs sampled)\nFastest is CacheableLookup#lookupAsync.all\n```\n\n## Related\n\n- [cacheable-request](https://github.com/lukechilds/cacheable-request) - Wrap native HTTP requests with RFC compliant cache support\n","_attachments":{},"homepage":"https://github.com/szmarczak/cacheable-lookup#readme","bugs":{"url":"https://github.com/szmarczak/cacheable-lookup/issues"},"license":"MIT"}