wifi-network

Cross-platform wireless network control

Usage no npm install needed!

<script type="module">
  import wifiNetwork from 'https://cdn.skypack.dev/wifi-network';
</script>

README

WiFi-Network

npm stability npm license npm downloads build status

Cross-platform wireless network control

Install via npm

$ npm install --save wifi-network

Supported Platforms

  • Mac OS
  • Windows
  • Linux

Usage

var wifi = require( 'wifi-network' )

Scan for available networks

wifi.scan( function( error, networks ) {
  console.log( error || networks )
})
[
  {
    ssid: 'Vodafone Hotspot',
    bssid: 'a6:31:c4:f2:2d:ca',
    countryCode: 'DE',
    beaconInterval: 100,
    noise: -88,
    rssi: -52,
    channelNumber: 1,
    channelBand: 2,
    channelWidth: 20,
  },
  ...
]

Contributing

Auxiliary Dependencies

$ pip install cpplint

References