portcheck
v1.0.0
Published
linebreak ========= Node.js Module To Check If A Port Is In Use
Downloads
5
Readme
linebreak
Node.js Module To Check If A Port Is In Use
Usage
Install into your project or use your package.json
:
npm install portcheck
And then:
var portcheck = require('portcheck');
To check if a port is in use:
var PortEightyIsInUse = portcheck.IsInUse(80)
It will return false
if not in use, or a text error if it is.