service-names-port-numbers
v2.0.0
Published
IANA assigned port numbers
Downloads
175
Readme
service-names-port-numbers
A simple json list with IANA assigned port numbers. See IANAs Service Name and Transport Protocol Port Number Registry for more details.
npm install service-names-port-numbers
Usage
var ports = require('service-names-port-numbers')();
In the above example ports
is an array containg objects with following format.
{
ServiceName: 'test',
PortNumber: '1024',
TransportProtocol: 'tcp',
Description: 'Test service',
Assignee: '[Assignee]',
Contact: '[Contact]',
RegistrationDate: '2015-07-01',
ModificationDate: '2015-07-01',
Reference: '[RFC-reference]',
ServiceCode: '000000',
KnownUnauthorizedUses: 'Unauthorized use by IANA',
AssignmentNotes: 'Test entry'
}
Note that not all properties are necessarily present on each entry.