@croqaz/port-scan
v0.3.0
Published
Node.js simple port scan
Downloads
7
Readme
ං Port-scan
> Node.js simple port scan
Examples
const { portCheck, portScan } = require('@croqaz/port-scan')
portCheck('google.com', { port: 443 })
.then(t => console.log('Response time: %dms', t))
portScan('google.com', { startPort: 80, endPort: 85, timeout: 100 })
.then(p => console.log('Open ports', p))
Installation
Simply install with npm:
$ npm install @croqaz/port-scan
Similar libraries
- https://github.com/baalexander/node-portscanner
License
MIT © Cristi Constantin.