wifiscan
v1.0.1
Published
Library to get the received signal strength indicator (RSSI) from Wi-Fi networks.
Downloads
28
Maintainers
Readme
Wifiscan
Library to get the received signal strength indicator (RSSI) from Wi-Fi networks.
Dependencies
$ sudo apt install wireless-tools
Installation
Simply install wifiscan library from NPM
$ npm install wifiscan
Examples
const { getInterface, scanNetworks } = require('wifiscan');
// Getting the default Network Interface
const iface = getInterface();
const networks = scanNetworks(iface);
console.log(networks);
/**
* {
* 'networkName0': -70,
* 'networkName1': -75,
* ...
* 'networkNameN': -91
* }
*/