# js 获取 mac 地址

# getmac

bevry/getmac (opens new window)

安装及引入

npm

Install: npm install --save getmac
Import: import pkg from ('getmac')
Require: const pkg = require('getmac').default

使用

const mac = pkg();

查本机 mac

windows

getmac

macos

ifconfig en0 ether
发布时间: 2020-08-11 16:51:26
更新时间: 2021-03-10 13:42:24