wifiscan

1.0.1 • Public • Published

Wifiscan

License: MIT NPM Version Tests Custom badge NPM Install Size NPM Downloads

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
 * }
 */

Package Sidebar

Install

npm i wifiscan

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

5.18 kB

Total Files

7

Last publish

Collaborators

  • ferreirad08