New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

arp-a-x-2

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

arp-a-x-2

Modernized version of the arp-a-x package

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

arp-a-x-2

ARP All Cross (X) Platform Version 2

Modernized version of the arp-a-x package.

Like the original uses native implementation when possible. Returns promises and provides JSDoc types for VSCode and TypeScript integration.

Note that the API has changed and is not backwards compatible!

Install

npm install -g --unsafe-perm arp-a-x-2

Usage

const { arpTable, ipLookupMap, macLookup } = require('arp-a-x-2');

(async () => {
  // Get the entire ARP table
  console.log(await arpTable());

  // ES6 Map from IP addresses to devices (see type signature)
  console.log(await ipLookupMap());

  // Can also find a device based by its MAC address (case-insensitive)
  console.log(await macLookup('xx:xx:xx:xx:xx:xx'));
})();

Keywords

FAQs

Package last updated on 11 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc