iana-net-info
v1.0.0
Published
get IANA info on protocol numbers and services
Downloads
2
Readme
iana-net-info
Get IANA net info on protocol numbers and service names.
Install
$ npm install iana-net-info --save
Usage
var ianaNetInfo = require('iana-net-info');
// Example: Search info on HTTP service name
var serviceInfoArr = ianaNetInfo.service('http');
// Example: Search info on udp protocol
var protocoInfoArr = ianaNetInfo.protocol('udp');
API
ianaNetInfo.service(serviceName)
serviceName
Type: String
Returns an array of objects contain info on the service name.
ianaNetInfo.protocol(keyword)
keyword
Type: String
Returns an array of objects contain info on the protocol keyword.
License
MIT.