A simple node module to check if a TCP port is busy on the local machine. See also is-port-free
$ npm install --save is-port-busy
var isPortBusy = require('is-port-busy');
isPortBusy(8080).then(function(){
console.log('yes');
})
.catch(function(){
console.log('no');
});
Install dev dependencies and run tests:
$ npm install -d && npm test
Licensed under ISC License © John Doherty