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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    3

Package Sidebar

Install

npm i node-getmacip

Weekly Downloads

3

Version

1.0.0

License

ISC

Unpacked Size

1.43 kB

Total Files

4

Last publish

Collaborators

  • liangdeyuldy