{"name":"root-hints","version":"4.0.2","keywords":["dns","root","hints","internic","zone","authorative","ip","ipv4","ipv6","root-servers"],"author":{"url":"https://github.com/silverwind","name":"silverwind","email":"me@silverwind.io"},"license":"BSD-2-Clause","_id":"root-hints@4.0.2","maintainers":[{"name":"silverwind","email":"npm@silverwind.io"}],"homepage":"https://github.com/silverwind/root-hints#readme","bugs":{"url":"https://github.com/silverwind/root-hints/issues"},"dist":{"shasum":"64a7223870ba8d5869ed0cddf55ac610c3dbedb0","tarball":"http://registry-npm.ywwl.com/root-hints/download/root-hints-4.0.2.tgz","fileCount":5,"integrity":"sha512-RRGgqi0VsG2z8YrsMmd7R2McepGHjQtU5gdblTN21019FU3uhJqgk2JHIBg1bNFjZJU8NV6KeJxGMTG9paduMg==","signatures":[{"sig":"MEUCICQe63G1pb3+MOjIvwoF57P5DDkhk9l5p/FBkHoloyr5AiEAwDO24pfMNdjDx883gPZen1n02hhdNFZ1LU/6Id98jfM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/root-hints@4.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4949,"size":2388,"noattachment":false,"key":"/root-hints/-/root-hints-4.0.2.tgz"},"main":"./dist/index.js","type":"module","_from":"file:root-hints-4.0.2.tgz","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"}},"_resolved":"/tmp/edc18be3f51fe748ca6939cda7235004/root-hints-4.0.2.tgz","_integrity":"sha512-RRGgqi0VsG2z8YrsMmd7R2McepGHjQtU5gdblTN21019FU3uhJqgk2JHIBg1bNFjZJU8NV6KeJxGMTG9paduMg==","repository":{"url":"git+https://github.com/silverwind/root-hints.git","type":"git"},"_npmVersion":"11.13.0","description":"Provides IP addresses of the DNS root servers, also known as 'root hints'.","directories":{},"sideEffects":false,"_nodeVersion":"26.2.0","_hasShrinkwrap":false,"devDependencies":{"eslint":"10.4.0","tsdown":"0.22.0","vitest":"4.1.6","updates":"17.16.12","ip-regex":"5.0.0","versions":"15.0.4","typescript":"6.0.3","@types/node":"25.8.0","jest-extended":"7.0.0","eslint-config-silverwind":"133.0.2","tsdown-config-silverwind":"3.0.1","vitest-config-silverwind":"11.3.5","updates-config-silverwind":"3.0.2","@typescript/native-preview":"7.0.0-dev.20260515.1","typescript-config-silverwind":"18.0.0"},"_npmOperationalInternal":{"tmp":"tmp/root-hints_4.0.2_1779323164257_0.1716035911128344","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":1779323164404,"_cnpm_publish_time":1779323164404,"dist-tags":{"latest":"4.0.5"}}