Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/croqaz/port-scan
Node.js simple port scan
https://github.com/croqaz/port-scan
port-scanning socket
Last synced: 2 days ago
JSON representation
Node.js simple port scan
- Host: GitHub
- URL: https://github.com/croqaz/port-scan
- Owner: croqaz
- License: mit
- Created: 2018-01-11T09:25:39.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-01-18T11:33:34.000Z (almost 7 years ago)
- Last Synced: 2025-01-02T02:33:04.441Z (8 days ago)
- Topics: port-scanning, socket
- Language: JavaScript
- Size: 13.7 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ං Port-scan
> Node.js simple port scan
[![NPM Version][npm-image]][npm-url]
[![Build Status][build-image]][build-url]
[![Standard Style Guide][style-image]][style-url]## Examples
```js
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](LICENSE) © Cristi Constantin.
[npm-image]: https://img.shields.io/npm/v/@croqaz/port-scan.svg
[npm-url]: https://www.npmjs.com/package/@croqaz/port-scan
[build-image]: https://travis-ci.org/croqaz/port-scan.svg?branch=master
[build-url]: https://travis-ci.org/croqaz/port-scan
[style-image]: https://img.shields.io/badge/code_style-standard-brightgreen.svg
[style-url]: https://standardjs.com