port-ready
v0.1.0port-ready
Promise to wait until a port is ready to accept connection.
Installation
npm install port-ready --save
Usage
const portReady = require('port-ready')
portReady({ port: 8000 }).then(port => {
console.log(port)
})
npm i port-ready
Source Code
github.com/ratson/port-ready...Metadata
- MIT
- >=6
- Unknown
- released 4/7/2018