@risingstack/find-port

1.0.0 • Public • Published

Find-port

Open port finder with Promise interface.

const findPort = require('@risingstack/find-port')

const start = 1024
const end = 2048 // 65535 by default

findPort(start, end)
  .then((port) => console.log('Port is open:', port))
  .catch((error) => console.error(error))

Installation

npm install @risingstack/find-port --save

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @risingstack/find-port

      Weekly Downloads

      0

      Version

      1.0.0

      License

      MIT

      Last publish

      Collaborators

      • kubischj
      • fwalkwithm
      • ozonid
      • jota
      • dandesz198
      • paldiana01
      • risingnpm
      • gergelyke
      • hekike
      • peteyycz
      • tamas.hodi
      • solkimicreb