port-numbers
Advanced tools
Comparing version 2.0.26 to 2.0.27
{ | ||
"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' } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1750176
38