2.0.0 • Published 9 years ago

service-names-port-numbers v2.0.0

Weekly downloads
212
License
MIT
Repository
github
Last release
9 years ago

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.