Socket
Socket
Sign inDemoInstall

wifiscan

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wifiscan

Library to get the received signal strength indicator (RSSI) from Wi-Fi networks.


Version published
Weekly downloads
3
Maintainers
1
Install size
5.08 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 05 Dec 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc