0.1.1 • Published 4 years ago

@cap32/scan-ip v0.1.1

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

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