getmac-offline

1.0.1 • Public • Published

getmac-offline

getmac-offline is a package that works for retrieving the physical address or MAC address of your device regardless of any network status. By default with Node.JS you can't get the device MAC address when offline but this package works like a charm in that scenario ✨

It's a super simple and straight forward package that comes handy for offline application and Yes! this is platform independent 😌

const getMac = require("getmac-offline");

getMac().then((mac) => {
  console.log("MAC ADDRESS: ", mac);
}).catch((err) => {
  console.error(err);
});

Package Sidebar

Install

npm i getmac-offline

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

2.04 kB

Total Files

3

Last publish

Collaborators

  • asrizvi