freeport-es6

0.0.3 • Public • Published

freeport-es6

Find a free TCP-port

NPM version Build Status Dependency Status Coverage percentage experimental

Install

npm install freeport-es6 --save

Usage

import freeport from "freeport-es6";
async function getPort(){
    try{
        const port = await freeport();
        console.log(port);
    }catch(e){
        console.error(e);
    }
}

Test

npm install
npm test

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    4
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    4
  • 0.0.2
    3
  • 0.0.1
    6

Package Sidebar

Install

npm i freeport-es6

Weekly Downloads

4

Version

0.0.3

License

ISC

Unpacked Size

159 kB

Total Files

15

Last publish

Collaborators

  • arvitaly