{"name":"port-numbers","version":"1.1.7","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.7","maintainers":[{"name":"silverwind","email":"me@silverwind.io"}],"homepage":"https://github.com/silverwind/port-numbers","bugs":{"url":"https://github.com/silverwind/port-numbers/issues"},"dist":{"shasum":"56cad17e2e1cda912cce8db382846f5e9a48a129","tarball":"http://registry-npm.ywwl.com/port-numbers/download/port-numbers-1.1.7.tgz","integrity":"sha512-Vh3kPE5NrkWEfrb7Esgac5y2emdkwXzHFC7cJ9VZd0rdHxoAVWFzCcc0OgDR33AqY82DIVxWhxJc/3yMjFpzSg==","signatures":[{"sig":"MEQCIH6VEi2TADJ4AvMWsBYJXP1xfUlp7Zio1b2sVLMyAO3FAiBSsrQpKr1RvD3iPGMHqdk3S27DhxcGI3wxJg4JX+TOoA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"size":275458,"noattachment":false,"key":"/port-numbers/-/port-numbers-1.1.7.tgz"},"main":"index.js","_from":".","_shasum":"56cad17e2e1cda912cce8db382846f5e9a48a129","engines":{"node":">=0.10.0"},"gitHead":"aab47e21adc38f047113d38fcde5886fa724cb7a","scripts":{"test":"mocha -C"},"_npmUser":{"name":"silverwind","email":"me@silverwind.io"},"repository":{"url":"https://github.com/silverwind/port-numbers","type":"git"},"_npmVersion":"2.7.6","description":"Get the information on network port numbers, based on IANA's public listing","directories":{},"_nodeVersion":"1.7.1","devDependencies":{"got":"^2.3.2","grunt":"^0.4.5","csv-parse":"0.0.6","grunt-bump":"^0.0.17","grunt-shell":"^1.1.1","grunt-contrib-jshint":"^0.11.0"},"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":1429291799881,"_cnpm_publish_time":1429291799881,"dist-tags":{"latest":"8.0.39"}}