https://github.com/cap32/scan-ip
Scan IP over LAN
https://github.com/cap32/scan-ip
Last synced: 2 months ago
JSON representation
Scan IP over LAN
- Host: GitHub
- URL: https://github.com/cap32/scan-ip
- Owner: Cap32
- License: mit
- Created: 2019-11-27T16:34:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T01:49:42.000Z (over 3 years ago)
- Last Synced: 2025-03-17T20:58:39.987Z (over 1 year ago)
- Language: TypeScript
- Homepage: https://cap32.github.io/scan-ip/
- Size: 1.14 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Scan IP
Scan IP over LAN
## Installation
```bash
$ yarn add @cap32/scan-ip
```
## Usages
```js
import { Scan } from "@cap32/scan-ip";
(async () => {
const scan = new Scan({ port: 80 });
scan.on("connect", (host, port) => {
console.log(`${host}:${port}`);
});
const report = await scan.start();
console.log(report);
})();
```
## API References
https://cap32.github.io/scan-ip/
## License
MIT