Skip to content

uri-chandler/get-port-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

get-port-sync

a synchronous version of sindresorhus/get-port


Install

npm install get-port-sync

Usage

const getPortSync = require('get-port-sync');
let   freePort    = null;

try       { freePort = getPortSync() }
catch (e) { /* boo */                }

Test

npm run test

Related

About

a synchronous version of sindresorhus/get-port

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published