npm

Bring the best of OSS JavaScript development to your projects with npm Orgs - private packages & team management tools.Learn more »

port-in-service

0.0.1 • Public • Published

port-in-service

Use this Node.js module for checking if a port is in service. A true return value means that the port is in service i.e. service connections. True means otherwise.

 
var portInService = require('../port-in-service.js');
var port = 3000;
 
portInService(port, function(up) {
  if (up) {
    console.log("Port " + port + " is in service." )
  } else {
    console.log("Port " + port + " is NOT in service." )
  }
});
 

install

npm i port-in-service

Downloadsweekly downloads

1

version

0.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability