node-porter
v1.1.0
Published
Check is port open or fetch random port
Downloads
8
Readme
Node.js - check is port available or get random available port.
Installation
npm install node-porter --save
Usage
Require:
var porter = require('node-porter');
Custom port:
porter(3000, function(err, port) {
...
})
Random port
porter(function(err, port) {
...
});
Test / Examples
npm test
Licence
ISC
See LICENCE for more detail.