{"name":"port-numbers","version":"2.0.24","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@2.0.24","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":"7b74a1b21d268408929b5ca8c210fee90bb9f8e7","tarball":"http://registry-npm.ywwl.com/port-numbers/download/port-numbers-2.0.24.tgz","fileCount":6,"integrity":"sha512-nwLwIPyzSTOXXbY1gJsg2i4lCTbexbMstKHGC02UNzrEJPyel6cx2S5y6ajKSwy7iJ+Y5m+rcs/f6mFvpRhl1w==","signatures":[{"sig":"MEUCIBSevej5edHWfS+bEKd3+Eul/rc2o351X7+tf7QqMUf0AiEA7nVFIwppr2gS74+4uuTbtZnJsYv2vqJw8z45AuonzJg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1749516,"size":281125,"noattachment":false,"key":"/port-numbers/-/port-numbers-2.0.24.tgz"},"files":["index.js","ports.json","services.json"],"engines":{"node":">=4"},"gitHead":"2933207c651a9ed422eeeb86fa536576ad127bfd","scripts":{"test":"make test"},"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"repository":{"url":"git+https://github.com/silverwind/port-numbers.git","type":"git"},"_npmVersion":"5.3.0","description":"Get information on network port numbers and services, based on IANA's public listing","directories":{},"_nodeVersion":"9.6.1","_hasShrinkwrap":false,"devDependencies":{"got":"^8.0.3","eslint":"^4.16.0","updates":"^2.1.0","csv-parse":"2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/port-numbers_2.0.24_1520071404964_0.008468088870477564","host":"s3://npm-registry-packages"},"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":1520071405170,"_cnpm_publish_time":1520071405170,"dist-tags":{"latest":"8.0.39"}}