find-port-sync Sync get an available port Install $ npm install find-port-sync Usage const findPortSync = require('find-port-sync'); findPortSync(); //=> 51402 Related get-port - Async API for this module get-port-cli - CLI for this module License MIT © Cap32