{"name":"port-numbers","version":"4.0.20","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.20","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":"89203ceb51d9c8047f19a760332f8498d622599e","tarball":"http://registry-npm.ywwl.com/port-numbers/download/port-numbers-4.0.20.tgz","fileCount":6,"integrity":"sha512-2541CCrOeMuxfdjkbUALUU7HTZnHkI705X1+2PvHH6n41jYqPcoYk1VUs7oltcBJ02GAILLzSek4t5oRDSk/EQ==","signatures":[{"sig":"MEYCIQD38OJQp0OTuMv+TegNQCLHYuYNTKgz9C4jSZIIp/eLAQIhANzX8oFRxgJQkX/xYSUxcGmKUDouXYLt1KJTSi5lbe8t","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":1756075,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdz8kxCRA9TVsSAnZWagAAY4wP/j1ajuJoU0nPBBRCGUNe\nMFXjW9k6YtKnJE8jPtG+cO5lCSRtirPlPfY28ihtTqh5igYEHHiVhKjchm07\nCQL57fVcX1B6CUDqOeNPWIXYvKgbz29JE11v7L+UhnWlp0bxHj+ZcnNHDY81\nc4IlEDC9e7RlsIXw+zU0qizdd1r9u8hRwu60TaE3qAAQCZ9iVnjzQizXzAN5\nvQflm7WxAvt+ZZCsTZrVhZ6mDxOdlCONPj5kppyKKUVQu71mFmpvmcPFzxGR\nbK7i9TL8OP6aJGuDuMtRlEEGUogiHtWF0GHPvrYzPzo0IWiFRjM1xgZJrob2\nW1MeVLoUjMasqmwpla7kr9VBy7Cp7QCGQVcs5MGb2202QaLBwtaHmpTkS1Q0\nK9fLJDYxcFcSui57WeDFcx3OSL1tTA4f3TFSziov8q54y6OES2emIDWH76At\nI8shaBT5It4e9TB5KoMhWcVbIqZOCk/fbd86tiqDH35cYZMoaMf9TGZHtSSU\n1tI6glqvxrqR1NJJipOZ8Y4vVDtekYEJucAs/NYldosxFG/xAxx+JrHQBIzr\nFlEos+zfwOUcfxMJqdwkG5PXIKaWecNtv8ZOsohMChXc2u/EaU8dqeEbDKDm\nk36HUiGO8dfhtt5Y52WHL3su2+wpKBgCw5URoeTGFBUEqsYy+0kr9BnwTlv7\n7knq\r\n=RFno\r\n-----END PGP SIGNATURE-----\r\n","size":282479,"noattachment":false,"key":"/port-numbers/-/port-numbers-4.0.20.tgz"},"engines":{"node":">=6"},"gitHead":"e5e63220a020d1f9e55580352fd5413e88eb0a41","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.12.1","description":"Get information on network port numbers and services, based on IANA's public listing","directories":{},"_nodeVersion":"12.13.0","_hasShrinkwrap":false,"devDependencies":{"got":"^9.6.0","eslint":"^6.6.0","updates":"^9.0.1","csv-parse":"^4.6.5","eslint-config-silverwind":"^5.0.0"},"_npmOperationalInternal":{"tmp":"tmp/port-numbers_4.0.20_1573898544760_0.8324677991741116","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":1573898544992,"_cnpm_publish_time":1573898544992,"dist-tags":{"latest":"8.0.39"}}