Skip to content

asRizvi888/getmac-offline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
});

About

Retrieve mac address completely offline

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published