JSPM

wifi-interface

0.0.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 16
  • Score
    100M100P100Q34210F
  • License

Get current wifi network interface name.

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-interface

Usage

const wifiInterface = require('wifi-interface')

console.log(wifiInterface()) // "en0"

CLI

npm install -g wifi-interface
$ wifi-interface
en0

License

MIT