Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

port-numbers

Package Overview
Dependencies
Maintainers
1
Versions
155
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

port-numbers - npm Package Compare versions

Comparing version 2.0.26 to 2.0.27

10

package.json
{
"name": "port-numbers",
"version": "2.0.26",
"version": "2.0.27",
"description": "Get information on network port numbers and services, based on IANA's public listing",

@@ -31,7 +31,7 @@ "author": "silverwind <me@silverwind.io> (https://github.com/silverwind)",

"devDependencies": {
"csv-parse": "2.0.0",
"eslint": "^4.16.0",
"got": "^8.0.3",
"updates": "^2.1.0"
"csv-parse": "2.2.0",
"eslint": "^4.19.1",
"got": "^8.3.0",
"updates": "^2.4.1"
}
}

@@ -13,12 +13,13 @@ # port-numbers

portNumbers.getService(80);
//=> { name: 'http', description: 'World Wide Web HTTP' }
portNumbers.getService(3306);
//=> { name: 'mysql', description: 'MySQL' }
portNumbers.getService(6379);
//=> { name: 'redis', description: 'An advanced key-value cache and store' }
portNumbers.getService(26257);
//=> { name: 'cockroach', description: 'CockroachDB' }
portNumbers.getService(123, 'udp');
//=> { name: 'ntp', description: 'Network Time Protocol' }
portNumbers.getPort('redis');
//=> { port: '6379', protocol: 'tcp', description: 'An advanced key-value cache and store' }
portNumbers.getPort('postgresql');
//=> { port: '5432', protocol: 'tcp', description: 'PostgreSQL Database' }
//=> { port: 6379, protocol: 'tcp', description: 'An advanced key-value cache and store' }
portNumbers.getPort('cockroach');
//=> { port: 26257, protocol: 'tcp', description: 'CockroachDB' }
portNumbers.getPort('ntp', 'udp');

@@ -25,0 +26,0 @@ //=> { port: 123, protocol: 'udp', description: 'Network Time Protocol' }

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