@cap32/scan-ip
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @cap32/scan-ip

Weekly Downloads

28

Version

0.1.1

License

MIT

Unpacked Size

17.9 kB

Total Files

15

Last publish

Collaborators

  • cap32