New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

iwlist

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iwlist

parses iwlist output. scan, join and disconnect from wireless networks

latest
Source
npmnpm
Version
0.0.5
Version published
Maintainers
1
Created
Source

iwlist

parses iwlist output on linux computers. tested on raspberry pi running raspbian (debian)

@substack wrote this for hacking into flying robots but told me to publish it to github and npm because he was busy

install

npm install iwlist

instantiate

var iw = require('iwlist')('wlan0')

scan(callback)

returns list of nearby wireless networks sorted by signal strength (high to low)

connect(essid, callback)

joins a wireless network by ESSID

disconnect

disconnects from the current network. callback not implemented yet but it returns the spawned child process stream for iwconfig

note: this doesnt seem to work on raspbian

associated(cb)

cb takes (err, associated) where associated is true if the computer is currently connected to a wireless access point

online(cb)

tries to resolve google.com and calls the callback with (err). if there is no err it means you are online

license

BSD LICENSED

FAQs

Package last updated on 22 Dec 2012

Did you know?

Socket

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