Skip to content

Latest commit

 

History

History
15 lines (13 loc) · 284 Bytes

README.md

File metadata and controls

15 lines (13 loc) · 284 Bytes

TCP Port Status

Checks the status of a TCP port

Installation

npm install tcp-port-status

Usage

const portStatus = require("tcp-port-status");
portStatus('1.1.1.1', 80)
	.then(status => { console.log(status); })
	.catch(error => { console.error(error); });