@kcgd/local-port-checker

1.0.2 • Public • Published

local-port-checker

This is a simple tool to check if a port is open on your computer

Installation

use npm

npm -i local-port-checker

Usage

var check = require("local-port-checker");

check(80, function(isUsed){
     if(isUsed){
          //port is in use
     } else {
          //port is not in use
     }
});

Contributing

idk how to use guthub lmao

if you make a new version just credit me somewhere

License

MIT

Package Sidebar

Install

npm i @kcgd/local-port-checker

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

2.23 kB

Total Files

4

Last publish

Collaborators

  • kcgd