0.2.0 • Published 5 years ago

arping v0.2.0

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

NodeJS ARP Request (ping)

This module allows you to send an ARP request and catch the response. In the response you'll get the hardware address of the target and the round trip time.

Install

npm i arping

Usage

const arp = require("arping");

arp.ping("192.168.0.1", (err, info) => {
	if (err) throw err; // Timeout, ...
	// THA = target hardware address
	// TIP = target IP address
	console.log("%s (%s) responded in %s secs", info.tha, info.tip, info.elapsed);
});
0.2.0

5 years ago

0.1.0

6 years ago

0.0.1

7 years ago

0.0.0

7 years ago