Skip to content

a-labo/aport

Repository files navigation

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