{"name":"port-numbers","version":"8.0.14","description":"Holds information on network port numbers, based on IANA's data","author":{"name":"silverwind"},"repository":{"type":"git","url":"git+https://github.com/silverwind/port-numbers.git"},"license":"BSD-2-Clause","type":"module","sideEffects":false,"main":"./index.json","exports":"./index.json","devDependencies":{"d3-dsv":"3.0.1","eslint":"8.57.0","eslint-config-silverwind":"85.1.4","updates":"16.1.1","versions":"12.0.2","vitest":"1.6.0","vitest-config-silverwind":"9.0.6"},"_id":"port-numbers@8.0.14","gitHead":"4a8ccfd8c54b83f7588bfe621759ba4626d5da02","bugs":{"url":"https://github.com/silverwind/port-numbers/issues"},"homepage":"https://github.com/silverwind/port-numbers#readme","_nodeVersion":"20.14.0","_npmVersion":"10.7.0","dist":{"integrity":"sha512-emWXBa6bOolkfU/5HDDN/uFHHKhGZ/YxsOf8pvRtcp9KhHuTJrdu7Clt+UH440qxorvF7QleVUn1BPgxHaAPVQ==","shasum":"ba92e4284101617f4dec8b5c71c6b025788e0005","tarball":"http://registry-npm.ywwl.com/port-numbers/download/port-numbers-8.0.14.tgz","fileCount":3,"unpackedSize":686306,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaUWeSMRYLyCv0qfLf/Z4BXzNwtMIb5OT9diETJ9zdiwIgJaMUNxCQ9w2CoMAJ8sf5prb8uWv/XDQI5U7achUfjzU="}],"size":138802,"noattachment":false,"key":"/port-numbers/-/port-numbers-8.0.14.tgz"},"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"directories":{},"maintainers":[{"name":"silverwind","email":"npm@silverwind.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/port-numbers_8.0.14_1718250735398_0.3523429446890236"},"_hasShrinkwrap":false,"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](http://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml).\n\n### Usage\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\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 in 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":1718250735605,"_cnpm_publish_time":1718250735605,"dist-tags":{"latest":"8.0.39"}}