@croqaz/port-scan

0.3.0 • Public • Published

ං Port-scan

> Node.js simple port scan

NPM Version Build Status Standard Style Guide

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.

Package Sidebar

Install

npm i @croqaz/port-scan

Weekly Downloads

1

Version

0.3.0

License

MIT

Last publish

Collaborators

  • croqaz