{"library":"dns-cache","type":"library","category":null,"description":"Simple DNS cache for Node.js that automatically caches all dns.lookup calls with configurable TTL. Current stable version is 2.0.0, compatible with Node.js >=0.12.0. Version 2.0.0 is not backwards compatible with Node.js <0.12 due to changes in dns.lookup. For Node.js 0.10 and older, use version 1.0.0. This package addresses DNS lookup conflicts (see joyent/node#7729) and improves performance by reducing redundant DNS queries. It is lightweight, easy to use (just require once), and accepts a TTL in milliseconds.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","http","https","dns"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install dns-cache","imports":["import dnscache from 'dns-cache';","const dnscache = require('dns-cache');","require('dns-cache')(10000);"]},{"cmd":"yarn add dns-cache","imports":[]},{"cmd":"pnpm add dns-cache","imports":[]}],"homepage":"http://www.devswede.com","github":"https://github.com/devswede/dns-cache","docs":null,"changelog":null,"pypi":null,"npm":"dns-cache","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}