{"_id":"port-numbers@8.0.39","dist":{"shasum":"cf684b3c27ad04a623c96854ba6cfebed0ba606f","tarball":"http://registry-npm.ywwl.com/port-numbers/download/port-numbers-8.0.39.tgz","fileCount":4,"integrity":"sha512-KL67EsZCggcSIzdGvHqFjnPpN3YvAhgIuzlZYNdZEl4udxUqN/Qs0LGsLbKO9wE/NMFMJMyu+wnbVphFIowHNQ==","signatures":[{"sig":"MEYCIQD2Bt/gq6oeQRqAyy+0wNrVFByb7/HbPw/ZUITZVqDYBwIhAM47hzaNdymT62bcN6iyrWEh9xLHhY3RAYx8KwH2z/nA","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCn8zQL0HDjQC+UkIhxAVQHFXwamt5RXZ9kWhR04XGZLwIgDZD2hL5zT/5N2Fge/cvXEFqvbVgGaHxjG1OVeUzDth8="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/port-numbers@8.0.39","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":690933,"size":142376,"noattachment":false,"key":"/port-numbers/-/port-numbers-8.0.39.tgz"},"main":"./index.json","name":"port-numbers","type":"module","author":"silverwind","exports":"./index.json","license":"BSD-2-Clause","version":"8.0.39","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"b654cf36-82cb-42a0-930b-b10cac550ad6"}},"repository":{"url":"https://github.com/silverwind/port-numbers.git","type":"git"},"description":"Holds information on network port numbers, based on IANA's data","directories":{},"maintainers":[{"name":"silverwind","email":"npm@silverwind.io"}],"sideEffects":false,"_hasShrinkwrap":false,"devDependencies":{"d3-dsv":"3.0.1","eslint":"10.11.0","vitest":"5.0.2","updates":"19.0.2","versions":"15.5.1","typescript":"6.0.3","@types/node":"26.6.3","@types/d3-dsv":"3.0.7","eslint-config-silverwind":"151.0.1","vitest-config-silverwind":"12.0.5","updates-config-silverwind":"4.0.7","@typescript/native-preview":"7.0.0-dev.20260707.2","typescript-config-silverwind":"21.0.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/port-numbers_8.0.39_1792745587114_0.0808893873974319"},"readme":"# port-numbers\n[![](https://img.shields.io/npm/v/port-numbers.svg?style=flat)](https://www.npmjs.org/package/port-numbers) [![](https://img.shields.io/npm/dm/port-numbers.svg)](https://www.npmjs.org/package/port-numbers) [![](https://packagephobia.com/badge?p=port-numbers)](https://packagephobia.com/result?p=port-numbers)\n\nnpm module that holds information on network port numbers based on [IANA's data](https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml).\n\n## Usage\n\n```sh\npnpm add port-numbers\n```\n\nDepending on your environment you may need to use [import attributes](https://github.com/tc39/proposal-import-attributes), [import assertions](https://nodejs.org/api/esm.html#import-assertions) or [nothing at all](https://bun.sh/guides/runtime/import-json).\n\n```js\nimport ports from \"port-numbers\" with {type: \"json\"};\n\nports[\"6379/tcp\"];\n// [\"redis\", \"An advanced key-value cache and store\"]\nports[\"123/udp\"];\n// [\"ntp\", \"Network Time Protocol\"]\n```\n\n## API\n\nThe export is a JSON object with `port/proto` as key and `[name, description]` as value.\n\n```json\n{\n  \"6379/tcp\": [\n    \"redis\",\n    \"An advanced key-value cache and store\"\n  ]\n}\n```\n\n© [silverwind](https://github.com/silverwind), distributed under BSD licence\n","publish_time":1792745587220,"_cnpm_publish_time":1792745587220,"dist-tags":{"latest":"8.0.39"}}