Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kevva/wifi-password

Get current wifi password
https://github.com/kevva/wifi-password

nodejs wifi-password

Last synced: 13 days ago
JSON representation

Get current wifi password

Awesome Lists containing this project

README

        

# wifi-password

> Get current wifi password

## Install

```
$ npm install wifi-password
```

## Usage

```js
const wifiPassword = require('wifi-password');

wifiPassword().then(password => {
console.log(password);
//=> 'johndoesecretpassword'
});
```

## API

### wifiPassword([name])

Returns a promise that resolves to a string containing the password.

#### name

Type: `string`

Get the wifi password for a specified *known* network.

## Related

* [wifi-password-cli](https://github.com/kevva/wifi-password-cli) - CLI for this module.

## License

MIT © [Kevin Mårtensson](https://github.com/kevva)