node-mac:node.js模块,用于获取和测试系统的mac地址
节点-mac用于获取您的mac地址的小型node.js模块。安装npm install git://github.com/malinkie/node-mac.git用//Get it! var mac = require('node-mac'); //Use it //MAC attempts to find hosts MAC address based on commands in config.js set for the returned value of process.platform //stdout from this command is searched though for corrosponding reg ex pattern and the first match is returned. mac.MAC(function(err, re
2.25KB
文件大小:
评论区