Package Exports
- wifi-interface
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (wifi-interface) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
wifi-interface
Get current wifi network interface name.
Install
npm install wifi-interfaceUsage
const wifiInterface = require('wifi-interface')
console.log(wifiInterface()) // "en0"CLI
npm install -g wifi-interface$ wifi-interface
en0License
MIT