JSPM

  • Created
  • Published
  • Downloads 6272
  • Score
    100M100P100Q146346F
  • License BSD-2-Clause

Holds information on network port numbers, based on IANA's data

Package Exports

  • port-numbers

Readme

port-numbers

npm module that holds information on network port numbers based on IANA's data.

Usage

import ports from "port-numbers";

ports["6379/tcp"];
// ["redis", "An advanced key-value cache and store"]
ports["123/udp"];
// ["ntp", "Network Time Protocol"]

API

The export is a JSON object in with port/proto as key and [name, description] as value.

{
  "6379/tcp": [
    "redis",
    "An advanced key-value cache and store"
  ]
}

© silverwind, distributed under BSD licence