tcp-port-check

1.0.3 • Public • Published

tcp-port-check

NodeJS tcp open port check

Author

0x0a0d

Usage

const TCPPortCheck = require('tcp-port-check')
 
let checker = new TCPPortCheck({
    getBanner: 512
})
 
checker
    .check('127.0.0.1', 9050)
    .check('127.0.0.1', 6942)
    .on('done', (ip, port, result) => {
        console.log(ip, port, result)
    })

Dependents (0)

Package Sidebar

Install

npm i tcp-port-check

Weekly Downloads

7

Version

1.0.3

License

ISC

Last publish

Collaborators

  • 0x0a0d