{"name":"port-numbers","version":"1.1.47","keywords":["port","port-numbers","numbers","tcp","udp","network","networking","iana","well-known"],"author":{"url":"https://github.com/silverwind","name":"silverwind","email":"me@silverwind.io"},"license":"BSD-2-Clause","_id":"port-numbers@1.1.47","maintainers":[{"name":"silverwind","email":"me@silverwind.io"}],"homepage":"https://github.com/silverwind/port-numbers#readme","bugs":{"url":"https://github.com/silverwind/port-numbers/issues"},"dist":{"shasum":"9c27f9571f1af8ade498d6e720bf3a2fdb961b3a","tarball":"http://registry-npm.ywwl.com/port-numbers/download/port-numbers-1.1.47.tgz","integrity":"sha512-AvtjfdsOIlR9GzXsWZSEUIlIqakV9ymPOCxswBzUm7GtZuovDzIpPmwegn8s7102mJsBUReULY4wtoaaHumsZw==","signatures":[{"sig":"MEUCIQCfHWCB94eobkTWU2deBwMXHBUZUH48hBK33mboWgcq6gIgeru0xUfc6R31d7HE8kNVsf80YwSviGRZrb0Q9LugDHQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":280838,"noattachment":false,"key":"/port-numbers/-/port-numbers-1.1.47.tgz"},"_from":".","files":["index.js","ports.json","services.json"],"_shasum":"9c27f9571f1af8ade498d6e720bf3a2fdb961b3a","engines":{"node":">=0.10.0"},"gitHead":"f669d75a92c9f5de156e5455d28d5b54744c0ec0","scripts":{"test":"mocha"},"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"repository":{"url":"git+https://github.com/silverwind/port-numbers.git","type":"git"},"_npmVersion":"4.0.5","description":"Get the information on network port numbers, based on IANA's public listing","directories":{},"_nodeVersion":"7.3.0","devDependencies":{"got":"^6.6.3","csv-parse":"1.1.7"},"_npmOperationalInternal":{"tmp":"tmp/port-numbers-1.1.47.tgz_1482617085866_0.5611689947545528","host":"packages-18-east.internal.npmjs.com"},"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":1482617086452,"_cnpm_publish_time":1482617086452,"dist-tags":{"latest":"8.0.39"}}