{"name":"port-numbers","version":"4.0.2","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@4.0.2","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":"c9583a2c72f1c478fa929dea6bad007e51e93e6d","tarball":"http://registry-npm.ywwl.com/port-numbers/download/port-numbers-4.0.2.tgz","fileCount":6,"integrity":"sha512-LxwodCKrXLSQujSp1GyIeAg3i6e7DS6kUCfP/uKH8ZOQEe/A6i30dsj0dgoGk9sASmBEHcptK7/iII+BZxhLIw==","signatures":[{"sig":"MEUCIGr2S62KfRObX+nWgRAPv5Ro0W0653uDxxBr211UsEpLAiEA5R1e8Pbm0Koz7X+i8cvDN0faC3WvcDLW119TXiBi+0k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1751016,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbPn91CRA9TVsSAnZWagAACi8P/2OxkZ5meTJJZ38EmFoL\nMy22tfpBh8zOaBbi8Sc+HWh2+UMZgj/TfhNL1KywFg4e9mtj3X7tKQmMsPq+\nc3nEvJdkntZkkclEbQZrlWUFIG8Kno+e+bwvm1Lm8VcavLFj6wXXeEXF+YJw\nzIIpglWVIJO8J6C+Oe40s0OMe3PW5F9kZh2586e6g+gFbiLjjdfCmnYnJsUU\n9Eet2o2gyFpP4EQ2rut7OexiSCO16C+BY8JfInCMDm1vLMNjg1BlQiYjjImO\nwRJUH+Sa/wu6EWN4VE120zKEDK0lJBsryL9hjscvo7PjJTHzAFEZEs8qXOgT\nZMzzurMui4w14TYPulczG9D2c2NzTC6rLl4SKqIc66/ArzYwzwnhrG+MfFaa\n92vwcBxwgRceeHXTP63wfKxwXpuCTuLk2N0cT8n1gRw/mhV20YQWcYXV4toT\n32bEGeEqeojnATZXinYj6Z4KWKBqjj2Ns13g8hy6Mt3XepxnXi+LLLavlcZa\nM1Ue5XBu9L7QrY2wsxjAatnD/qyl+gY7fUEh5g87TY+KkzVE7RH/uCVcUb2X\nqt1+F0P5w/rlxH4qp/GHGlGHOGN1x/A0YCmLD7Hy1eIK6N8VyOQzpWkNiNqM\nLfGGsQrYQwJNr/JEjQfQ7q/2b3mO749tMY7ihAImwOj3G+nmsfBA9gm9V4zw\nTxPn\r\n=vJfU\r\n-----END PGP SIGNATURE-----\r\n","size":281489,"noattachment":false,"key":"/port-numbers/-/port-numbers-4.0.2.tgz"},"files":["index.js","ports.json","services.json"],"engines":{"node":">=6"},"gitHead":"cca9920995c5887c6f07dfe863ad1ba2138d54e2","scripts":{"test":"make test"},"_npmUser":{"name":"silverwind","email":"npm@silverwind.io"},"repository":{"url":"git+https://github.com/silverwind/port-numbers.git","type":"git"},"_npmVersion":"6.1.0","description":"Get information on network port numbers and services, based on IANA's public listing","directories":{},"_nodeVersion":"10.5.0","_hasShrinkwrap":false,"devDependencies":{"got":"^8.3.1","eslint":"^4.19.1","updates":"^3.0.0","csv-parse":"2.4.0","eslint-config-silverwind":"^1.0.42"},"_npmOperationalInternal":{"tmp":"tmp/port-numbers_4.0.2_1530822517719_0.04795041206807249","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":1530822517872,"_cnpm_publish_time":1530822517872,"dist-tags":{"latest":"8.0.39"}}