1.0.2 • Published 8 years ago

nodearp v1.0.2

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

arp

Node Address Resolution Display and Control

A node implementation of arp utility getter methods.

Examples in tests/

 var arp = require('./arp')

 /**
 * Get all ARP entries
 * @return {array} entries
 **/
 arp.entries(function(entries){
   console.log(require('util').inspect(entries, { depth: null }));
 })

 /**
 * Get all ARP entries on interface
 * @param  {string} interface
 * @return {array}
 **/
 arp.onInterface('en0', function(entries){
   console.log(require('util').inspect(entries, { depth: null }));
 })

 /**
 * Get own ARP entry
 * @return {object}
 **/
 arp.self(function(entry){
   console.log(require('util').inspect(entry, { depth: null }));
 })
1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago