IP 获取本地ip地址 npm npm install ip Usage Get your ip address var ip = require('ip'); ip.address() // my ip address