1. 首页
  2. 数据库
  3. 其它
  4. netTool:网络工具 源码

netTool:网络工具 源码

上传者: 2021-02-23 19:44:37上传 ZIP文件 6.11KB 热度 22次
网络工具 唯一支持linux的网络工具 使用方法 const netTool = require("./net_tools.js); currentIp 获取当前设备的IP console.log(netTool.currentIp()); // 192.168.1.12 cidr console.log(netTool.cidr()); //// 192.168.1.12/24 getSubnetIpSet console.log(netTool.getSubnetIpSet()); // [ "192.168.1.1", ... , "192.168.1.254" ] s
下载地址
用户评论