{"name":"port-numbers","version":"2.0.27","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.27","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":"79797cdf86afa8032f64195fbc4d81ae1143994e","tarball":"http://registry-npm.ywwl.com/port-numbers/download/port-numbers-2.0.27.tgz","fileCount":6,"integrity":"sha512-Xza26dU9zLfzOmvtmhuMiYttrjhNRzY3murEN+VWK5FJhyP27DMscCzxo3cTiQQB2bFtSDYVAnf8T+x68YLSlg==","signatures":[{"sig":"MEUCIFZBvOMIvFpAaC5prC80ZVZ/t/SXgrc0m5RB8wephuLCAiEA+WfB3WVtyvVV2dHn5oU4r5PN0XJ43FYbBJo753//0GA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1750176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa2vwQCRA9TVsSAnZWagAA0vQP/1lnzEVv1LOObxu5T9hV\ncgIqi8H2BS+ZC9xV0L4S6eT0arFdbsM0Gwl8SxF0ZCrRrFXG1B9gI7rqf27c\nVqFtTu14nU3tNgDDvRkLLfgwEU+JaroVIhUSLrdTCcbq5pHBf32RTlOsGJaP\nVon8VQiFmOnbhPhCMieQR5MFP2DJ5iBrTkOJ11Ha5+71oj2NvVOyI5/HDSTD\niDSQufrdvOz12B1L+PyxfTGecU1LMRmuoE3Rk6sA8UvUBSRISlwfnCo4JHa8\nhHlZcNPVqxfx5gdB1E/HtOmk4eO/axysOYk/tDUqLtp4zyNI8RzCGzHOGF9i\n631y8WHk9Xrm6SnuyciTpf2efnlOr7axLmFSopSefehXEv8z+oob48gMfW5/\nqoDr5fxlWpVSuklNECENU1MQVRK81xzsQA2mCO21yEMqJj2TA+/uowavjxxt\nnqSwfoksOkpBZy6Kw2O0zjOtiSZX043PzGjwTWFd1SoQQB8l/Np8+SUC6FeY\nsvYyktboqAwheNFk6gapLK6pbPwWKNN5jZIao0wkHiQdTcb/a8yheycnAuZ1\nFqFo8x+l/JKT/g7lCg7gkymp93QUdru046EcmM/5X2FC/FbBY8mmuskgQD6C\n4iJ3O8UpsRHc6w6Ley9/SrmZq4Ylq9+swNvOVpjN6cFyWlHSiXxEsoDWAmSw\nhxCR\r\n=v54x\r\n-----END PGP SIGNATURE-----\r\n","size":281366,"noattachment":false,"key":"/port-numbers/-/port-numbers-2.0.27.tgz"},"files":["index.js","ports.json","services.json"],"engines":{"node":">=4"},"gitHead":"3088239207870a36674affa14aa72ab6cc84d1fe","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.6.0","description":"Get information on network port numbers and services, based on IANA's public listing","directories":{},"_nodeVersion":"9.10.1","_hasShrinkwrap":false,"devDependencies":{"got":"^8.3.0","eslint":"^4.19.1","updates":"^2.4.1","csv-parse":"2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/port-numbers_2.0.27_1524300815706_0.8501904487419392","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":1524300815870,"_cnpm_publish_time":1524300815870,"dist-tags":{"latest":"8.0.39"}}