An open API service indexing awesome lists of open source software.

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

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