{"name":"root-hints","version":"4.0.4","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.4","maintainers":[{"name":"silverwind","email":"npm@silverwind.io"}],"dist":{"shasum":"9fff766725fa4060d63fb44b5e7fb62c6d2f6b44","tarball":"http://registry-npm.ywwl.com/root-hints/download/root-hints-4.0.4.tgz","fileCount":5,"integrity":"sha512-28A28+qH5XTsX96gsl7Y1fuJfKLeTktDlnwKjFvja3o+YSW4w8VZgq0RDn9I3WEsNn0cwySKT56jLHRoTUuQrg==","signatures":[{"sig":"MEYCIQDDawhGAmVT+dLfQJgaPenncLZC46z/Fi8cpYiP8uV8AwIhAKLsD+0VHGw/kAzGUjy8YfuA1Ntqwg6+IPvSsAC3cvWe","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEYCIQDw0z2kqkD6AytxkRbKm1Lj+tsa5Nrnt23YDOvhBe8qEQIhAPnx3ORLphfBMRUcYm/14oK9Jf9JC3LWoWowXfqbFF/k","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/root-hints@4.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":4968,"size":2368,"noattachment":false,"key":"/root-hints/-/root-hints-4.0.4.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":"git+https://github.com/silverwind/root-hints.git","type":"git"},"description":"Provides IP addresses of the DNS root servers, also known as 'root hints'.","directories":{},"sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"eslint":"10.11.0","tsdown":"0.23.0","vitest":"5.0.2","updates":"19.0.0","versions":"15.5.0","typescript":"6.0.3","@types/node":"26.6.2","jest-extended":"7.0.0","eslint-config-silverwind":"151.0.0","tsdown-config-silverwind":"4.1.1","vitest-config-silverwind":"12.0.4","updates-config-silverwind":"4.0.6","@typescript/native-preview":"7.0.0-dev.20260707.2","typescript-config-silverwind":"21.0.0"},"_npmOperationalInternal":{"tmp":"tmp/root-hints_4.0.4_1790357150889_0.2011977017803266","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":1790357150993,"_cnpm_publish_time":1790357150993,"dist-tags":{"latest":"4.0.5"}}