aport

Find freeport with promise


Keywords
port
License
MIT
Install
npm install aport@2.0.0

Documentation

aport

Build Status npm Version JS Standard

Find freeport with promise

Installation

$ npm install aport --save

Usage

'use strict'

const aport = require('aport')

;(async () => {
  // Find free port
  let port = await aport()
  console.log('Free port :', port)
}).catch((err) => console.error(err))

License

This software is released under the MIT License.

Links