aport
Find freeport with promise
Last updated a month ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball
$ cnpm install aport 
SYNC missed versions from official npm registry.

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

Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 23
Dependencies (0)
None
Dev Dependencies (9)

Copyright 2014 - 2017 © taobao.org |