Socket
Socket
Sign inDemoInstall

port-numbers

Package Overview
Dependencies
Maintainers
1
Versions
154
Alerts
File Explorer

Advanced tools

Socket logo

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.3K
decreased by-18.62%
Maintainers
1
Weekly downloads
 
Created
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" with {type: "json"};

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

Package last updated on 15 Aug 2024

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc