xingwa_mac

Get System All Mac For IPV4

Usage no npm install needed!

<script type="module">
  import xingwaMac from 'https://cdn.skypack.dev/xingwa_mac';
</script>

README

xingwa_mac

Get the MAC address of the current machine you are on.

This library will not run in web browsers / on the client-side / in webpack / in browserify / in angular / in react / in jQuery / in HTML. It will only run on Node.js environments, which the web browser is not.

Usage

import getMac from "xingwa_mac";
console.log(getMac());

Content

if more than 2 MAC address ,return Array;
if only 1 MAC address ,return String;
if 0 MAC address,return NULL;