0.3.0 • Published 6 years ago
@croqaz/port-scan v0.3.0
ං 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
License
MIT © Cristi Constantin.