get-port-sync
a synchronous version of sindresorhus/get-port
Last updated 4 years ago by ujc .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install get-port-sync 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (2)
Dev Dependencies (4)

Copyright 2014 - 2017 © taobao.org |