<commit_before>#port-numbers [![NPM version](https://img.shields.io/npm/v/port-numbers.svg?style=flat)](https://www.npmjs.org/package/port-numbers) [![Dependency Status](http://img.shields.io/david/silverwind/port-numbers.svg?style=flat)](https://david-dm.org/silverwind/port-numbers)
> Get the information on network port numbers, based on IANA's public listing

###Installation
```
$ npm install --save port-numbers
```
###Example
```js
var pn = require("port-numbers");
pn(80, function(err, result) {
    console.log(result);
    // => { name: 'http', description: 'World Wide Web HTTP' }
});
pn(53, "udp", function(err, result) {
    console.log(result);
    // => { name: 'domain', description: 'Domain Name Server' }
});
```
### API
#### pn(port, [protocol], [callback])
- `port` *number* : the port to lookup. Required.
- `protocol` *string* : the protocol. Default: `tcp`.
- `callback` *function* : the callback receives `err` and an object containing `name` and `description`.

© 2015 [silverwind](https://github.com/silverwind), distributed under BSD licence
<commit_msg>Readme: Update to conform standard markdown<commit_after># port-numbers [![NPM version](https://img.shields.io/npm/v/port-numbers.svg?style=flat)](https://www.npmjs.org/package/port-numbers) [![Dependency Status](http://img.shields.io/david/silverwind/port-numbers.svg?style=flat)](https://david-dm.org/silverwind/port-numbers)
> Get the information on network port numbers, based on IANA's public listing

### Installation
```
$ npm install --save port-numbers
```
### Example
```js
var pn = require("port-numbers");
pn(80, function(err, result) {
    console.log(result);
    // => { name: 'http', description: 'World Wide Web HTTP' }
});
pn(53, "udp", function(err, result) {
    console.log(result);
    // => { name: 'domain', description: 'Domain Name Server' }
});
```
### API
#### pn(port, [protocol], [callback])
- `port` *number* : the port to lookup. Required.
- `protocol` *string* : the protocol. Default: `tcp`.
- `callback` *function* : the callback receives `err` and an object containing `name` and `description`.

© 2015 [silverwind](https://github.com/silverwind), distributed under BSD licence

{'fraction_non_alphanumeric': 0.18997722095671982, 'fraction_numerical': 0.007289293849658315, 'mean_word_length': 4.794195250659631, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4564942', 'n_tokens_mistral': 749, 'n_tokens_neox': 690, 'n_words': 178}