Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including service-names with all npm packages installed. Try it out:

var serviceNames = require("service-names")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

service-names v0.0.1

Service names and ports (from

IANA service names and ports

Service names and ports (from


In Node.js

> var services = require('service-names')
> services.tcp[80]
{ name: 'www-http',
  description: 'World Wide Web HTTP' }
> services.tcp[22]
{ name: 'ssh',
  description: 'The Secure Shell (SSH) Protocol' }

In the Browser

<script src="service-names.js"></script>
    alert(services.tcp[80].name); // => 'www-http'

Up to date list

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

git clone git://
cd node-service-names
npm install # for xml2js and request

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


npm install service-names


MIT Licensed

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free