An open API service indexing awesome lists of open source software.

https://github.com/ratson/port-ready

Promise to wait until a port is ready to accept connection.
https://github.com/ratson/port-ready

Last synced: 11 months ago
JSON representation

Promise to wait until a port is ready to accept connection.

Awesome Lists containing this project

README

          

# port-ready

Promise to wait until a port is ready to accept connection.

## Installation

```
npm install port-ready --save
```

## Usage

```js
const portReady = require('port-ready')

portReady({ port: 8000 }).then(port => {
console.log(port)
})
```