Socket
Socket
Sign inDemoInstall

port-numbers

Package Overview
Dependencies
0
Maintainers
1
Versions
148
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    port-numbers

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


Version published
Weekly downloads
1.7K
increased by24.35%
Maintainers
1
Install size
670 kB
Created
Weekly downloads
 

Readme

Source

port-numbers

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

Usage

Depending on your environment you may need to use import attributes, import assertions or nothing at all.

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

FAQs

Last updated on 18 Mar 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc