{"name":"port-numbers","version":"1.1.29","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.29","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":"398248066c407340b75104435f0cf8c95cab92ce","tarball":"http://registry-npm.ywwl.com/port-numbers/download/port-numbers-1.1.29.tgz","integrity":"sha512-A/rluYdmICtYhmTCa5xpje81XpEsdR+kXf1SPIARVE48I+UpS2vwGnWPCWyH9wPR18dBhqVcyPljRBROwm4/2w==","signatures":[{"sig":"MEQCIGEwUvOGkUurdjdkUNekIikH8IpLzDBNX7wSmjvr2CjrAiBTS2kpF6NimolL9p4htEwf6KTWIJbHr5G8+EXXwKoYIg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":277821,"noattachment":false,"key":"/port-numbers/-/port-numbers-1.1.29.tgz"},"_from":".","files":["index.js","ports.json","services.json"],"_shasum":"398248066c407340b75104435f0cf8c95cab92ce","engines":{"node":">=0.10.0"},"gitHead":"a35e2aa5405b9952a2da9f01e8393368860da2a3","scripts":{"test":"mocha"},"_npmUser":{"name":"silverwind","email":"me@silverwind.io"},"repository":{"url":"git+https://github.com/silverwind/port-numbers.git","type":"git"},"_npmVersion":"3.3.12","description":"Get the information on network port numbers, based on IANA's public listing","directories":{},"_nodeVersion":"5.4.1","devDependencies":{"got":"^6.1.0","csv-parse":"1.0.1"},"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":1453330012697,"_cnpm_publish_time":1453330012697,"dist-tags":{"latest":"8.0.39"}}