Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gimme-port

Flackus15MIT1.0.3

Super-small node.js utility to find unused port

find, unused, port

readme

gimme-port

Super-small node.js utility to find unused port

npm i -g gimme-port
gimme-port
require('gimme-port')(function(err, port) {
    if (err) console.error(err);
    console.log(port);
});