# node_wpa_cli

> Control wpa_supplicant using Node.JS

Latest version **1.3.8** (published 2016-03-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install node_wpa_cli
pnpm add node_wpa_cli
yarn add node_wpa_cli
bun add node_wpa_cli
```

Provides the command `node_wpa_cli`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.8 |
| Published | 2016-03-12 |
| First published | 2016-02-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Alekos Filini |
| Maintainers | afilini |
| Keywords | network, wpa_supplicant, wpa_cli, wifi |

## Links

- npm: https://www.npmjs.com/package/node_wpa_cli
- Repository: https://github.com/afilini/node_wpa_cli
- Issues: https://github.com/afilini/node_wpa_cli/issues
- npm.io page: https://npm.io/package/node_wpa_cli

## Dependencies (1)

- [unix-dgram](https://npm.io/package/unix-dgram.md) ^0.2.1

## Recent versions

- 1.3.8 (latest) — 2016-03-12
- 1.3.7 — 2016-03-12
- 1.3.6 — 2016-03-09
- 1.3.5 — 2016-03-09
- 1.3.4 — 2016-03-09
- 1.3.3 — 2016-03-09
- 1.3.2 — 2016-03-09
- 1.3.1 — 2016-02-29
- 1.3.0 — 2016-02-26

## README

# Node WPA CLI

An event-oriented library to interact with `wpa_supplicant`. The aim of the project is to offer a simple interface to control
your wifi antenna(s) through Node.JS, by supporting all the 'offical' command line interface commands. I'll start adding 
most of the p2p commands first.

## Example

```js
var WpaState = require('node_wpa_cli')
new WpaState('wlan0')
.on('state', function (state) {
	if (state == 'completed') {
		console.log('internet')
	} else if (state == 'disconnected') {
		console.log('no internet')
	}
})
.connect()

```

## License

MIT

---
_Source: https://npm.io/package/node_wpa_cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
