{"name":"root-hints","version":"4.0.3","keywords":["dns","root","hints","internic","zone","authorative","ip","ipv4","ipv6","root-servers"],"author":"silverwind <me@silverwind.io> (https://github.com/silverwind)","license":"BSD-2-Clause","_id":"root-hints@4.0.3","maintainers":[{"name":"silverwind","email":"npm@silverwind.io"}],"dist":{"shasum":"b04aebbdb5c475bb647b0049479f7385904e17c6","tarball":"http://registry-npm.ywwl.com/root-hints/download/root-hints-4.0.3.tgz","fileCount":5,"integrity":"sha512-XDlTDi0znpK8Ulogjqkc6yzzUhTJmt8CXCKdu2k5hYw1x4Qaozq25pew/UjWw+rue+0OaBGjVrJXfqxWalrlYA==","signatures":[{"sig":"MEUCIHQqoECpomMfXdZD4NXen3QhIGo7QY5Ov3zXPSiz8xjkAiEAnbSSUEL57+sM9owQp4vW4Q6FPMSYUblK0vpc3e3bb6s=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/root-hints@4.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4992,"size":2397,"noattachment":false,"key":"/root-hints/-/root-hints-4.0.3.tgz"},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"bun":"*","node":">=22"},"exports":"./dist/index.js","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:78ce61de-6269-478d-a3fc-f110e40d2952"}},"repository":{"url":"silverwind/root-hints","type":"git"},"description":"Provides IP addresses of the DNS root servers, also known as 'root hints'.","directories":{},"sideEffects":false,"_nodeVersion":"26.7.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"10.8.0","tsdown":"0.22.14","vitest":"4.1.10","updates":"18.0.0","ip-regex":"5.0.0","versions":"15.3.2","typescript":"6.0.3","@types/node":"26.1.2","jest-extended":"7.0.0","eslint-config-silverwind":"144.0.0","tsdown-config-silverwind":"4.0.3","vitest-config-silverwind":"11.5.0","updates-config-silverwind":"4.0.5","@typescript/native-preview":"7.0.0-dev.20260707.2","typescript-config-silverwind":"20.0.3"},"_npmOperationalInternal":{"tmp":"tmp/root-hints_4.0.3_1786122586317_0.5191447335672381","host":"s3://npm-registry-packages-npm-production"},"readme":"# root-hints\n[![](https://img.shields.io/npm/v/root-hints.svg?style=flat)](https://www.npmjs.org/package/root-hints) [![](https://img.shields.io/npm/dm/root-hints.svg)](https://www.npmjs.org/package/root-hints) [![](https://packagephobia.com/badge?p=root-hints)](https://packagephobia.com/result?p=root-hints)\n\n> Provides IP addresses of the DNS root servers, also known as root hints.\n\n## Usage\n\n```sh\npnpm add root-hints\n```\n\n```js\nimport rootHints from \"root-hints\";\n\nrootHints(\"A\");\n// [\"198.41.0.4\", \"170.247.170.2\", ...]\n\nrootHints(\"AAAA\");\n// [\"2001:503:ba3e::2:30\", \"2801:1b8:10::b\", ...]\n\nrootHints();\n// [{name: \"a.root-servers.net\", A: \"198.41.0.4\", AAAA: \"2001:503:ba3e::2:30\"}, ...]\n```\n\n© [silverwind](https://github.com/silverwind), distributed under BSD licence\n","publish_time":1786122586467,"_cnpm_publish_time":1786122586467,"dist-tags":{"latest":"4.0.5"}}