port-ready

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

port-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

Metadata

  • MIT
  • >=6
  • Unknown
  • released 4/7/2018

Downloads

Maintainers