{"_id":"@amoo-miki/dns-sync","name":"@amoo-miki/dns-sync","dist-tags":{"latest":"0.2.2"},"versions":{"0.2.2":{"name":"@amoo-miki/dns-sync","version":"0.2.2","description":"dns-sync","main":"index.js","scripts":{"test":"mocha","lint":"eslint ."},"homepage":"https://github.com/AMoo-Miki/node-dns-sync","repository":{"type":"git","url":"git+ssh://git@github.com/AMoo-Miki/node-dns-sync.git"},"keywords":["dns sync","server startup","nodejs"],"authors":["AMoo-Miki","Sanjeev Koranga"],"license":"MIT","dependencies":{"debug":"^4","shelljs":"~0.8"},"devDependencies":{"mocha":"^9","eslint":"^6","eslint-plugin-standard":"^4"},"_id":"@amoo-miki/dns-sync@0.2.2","gitHead":"c9056341562504727301e9e7187e0817e0d5a118","bugs":{"url":"https://github.com/AMoo-Miki/node-dns-sync/issues"},"_nodeVersion":"18.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-GoWRmng1RpnFXrfITbAgfndTjvBgf438jRq1Q5m1Db9HfN9qR/TlRRcl7LXsvq+oS3iUzXyNECzoU62jHPilKw==","shasum":"e713eb46c3ddf6fde37e9453a31a4440ca45a8e7","tarball":"https://registry.npmjs.org/@amoo-miki/dns-sync/-/dns-sync-0.2.2.tgz","fileCount":19,"unpackedSize":14667,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAd3HcdzizdhH/XAjYJofXH9ERfR2mnL6KnZ2lBOhjYGAiEAt7rYfwHrwj7IiLFLHl+tHGyRoUTBye+UcsTiNLWqOwM="}]},"_npmUser":{"name":"amoo_miki","email":"amoo_miki@yahoo.com"},"directories":{},"maintainers":[{"name":"amoo_miki","email":"amoo_miki@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/dns-sync_0.2.2_1724349216505_0.2557098190295739"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-22T17:53:36.383Z","0.2.2":"2024-08-22T17:53:36.683Z","modified":"2024-08-22T17:53:37.021Z"},"maintainers":[{"name":"amoo_miki","email":"amoo_miki@yahoo.com"}],"description":"dns-sync","homepage":"https://github.com/AMoo-Miki/node-dns-sync","keywords":["dns sync","server startup","nodejs"],"repository":{"type":"git","url":"git+ssh://git@github.com/AMoo-Miki/node-dns-sync.git"},"bugs":{"url":"https://github.com/AMoo-Miki/node-dns-sync/issues"},"license":"MIT","readme":"node-dns-sync\n=============\n\nSync/Blocking DNS resolve. Main usecase is in node server startup.\n\nHow to Use\n-------\n\nIf coming from `dns-sync`, replace the entry in the package dependencies:\n```json5\n  \"dependencies\": {\n    \"dns-sync\": \"npm:@amoo-miki/dns-sync@~0.2\",\n    ...\n  }\n```\n\n```javascript\nvar dnsSync = require('dns-sync');\n\nconsole.log(dnsSync.resolve('www.paypal.com'));     //should return the IP address\nconsole.log(dnsSync.resolve('www.yahoo.com'));\nconsole.log(dnsSync.resolve('www.non-host.something')); //should return null\n\nconsole.log(dnsSync.resolve('www.google.com', 'AAAA')); //should return AAAA records\nconsole.log(dnsSync.resolve('google.com', 'NS'));   //should return NS record\n```\n","readmeFilename":"README.md"}