aboutsummaryrefslogtreecommitdiff
path: root/node_modules/get-port/readme.md
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
committerFlorian Dold <florian.dold@gmail.com>2019-03-27 21:01:33 +0100
commitcc97a4dd2a967e1c2273bd5f4c5f49a5bf2e2585 (patch)
tree92c5d88706a6ffc654d1b133618d357890e7096b /node_modules/get-port/readme.md
parent3771b4d6b67b34c130f3a9a1a15f42deefdb2eda (diff)
remove node_modules
Diffstat (limited to 'node_modules/get-port/readme.md')
-rw-r--r--node_modules/get-port/readme.md64
1 files changed, 0 insertions, 64 deletions
diff --git a/node_modules/get-port/readme.md b/node_modules/get-port/readme.md
deleted file mode 100644
index 72c1fbc01..000000000
--- a/node_modules/get-port/readme.md
+++ /dev/null
@@ -1,64 +0,0 @@
-# get-port [![Build Status](https://travis-ci.org/sindresorhus/get-port.svg?branch=master)](https://travis-ci.org/sindresorhus/get-port)
-
-> Get an available port
-
-
-## Install
-
-```
-$ npm install get-port
-```
-
-
-## Usage
-
-```js
-const getPort = require('get-port');
-
-getPort().then(port => {
- console.log(port);
- //=> 51402
-});
-```
-
-Optionally, pass in a preferred port:
-
-```js
-getPort({port: 3000}).then(port => {
- console.log(port);
- // Will use 3000 if available, otherwise fall back to a random port
-});
-```
-
-
-## API
-
-### getPort([options])
-
-Returns a `Promise` for a port number.
-
-#### options
-
-Type: `Object`
-
-##### port
-
-Type: `number`
-
-The preferred port to use.
-
-##### host
-
-Type: `string`
-
-The host on which port resolution should be performed. Can be either an IPv4 or IPv6 address.
-
-
-## Related
-
-- [get-port-cli](https://github.com/sindresorhus/get-port-cli) - CLI for this module
-
-
-## License
-
-MIT © [Sindre Sorhus](https://sindresorhus.com)