node-getmacip

1.0.0 • Public • Published

安装

npm install node-getmacip

导入

const {getMac, getIp} = require('node-getmacip')

获取 mac

let mac = getMac()
console.log(mac)

获取 ip

let ip = getIp()
console.log(ip)

开源协议

ISC

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i node-getmacip

      Weekly Downloads

      2

      Version

      1.0.0

      License

      ISC

      Unpacked Size

      1.43 kB

      Total Files

      4

      Last publish

      Collaborators

      • liangdeyuldy