node package manager

Introducing npm Enterprise add-ons. Integrate third-party dev tools into npm…


Assigned Internet Protocol Numbers (from

IANA Protocol Numbers

Assigned Internet Protocol Numbers (from

In Node.js

> var protocols = require('protocol-numbers')
> protocols[4].name
> protocols[4].description
'IPv4 encapsulation'

In the Browser

<script src="protocol-numbers.js"></script>
    alert(protocol_numbers[4].name); // => 'IPv4'

You can generate an up-to-date list of the protocols. Follow these steps:

git clone git://
cd node-protocol-numbers
npm install # for xml2js and request

This will run the included script get-list.js and redirect the output for you

npm install protocol-numbers

MIT Licensed