Cap32 / scan-ip

Scan IP over LAN

Home Page:https://cap32.github.io/scan-ip/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scan IP

Scan IP over LAN

Installation

$ yarn add @cap32/scan-ip

Usages

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

About

Scan IP over LAN

https://cap32.github.io/scan-ip/

License:MIT License


Languages

Language:TypeScript 99.1%Language:JavaScript 0.9%