Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/kevva/wifi-password
- Owner: kevva
- License: mit
- Created: 2015-02-15T21:37:06.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-12T07:11:20.000Z (almost 3 years ago)
- Last Synced: 2024-05-12T05:40:28.888Z (6 months ago)
- Topics: nodejs, wifi-password
- Language: JavaScript
- Size: 26.4 KB
- Stars: 616
- Watchers: 28
- Forks: 54
- Open Issues: 9
-
Metadata Files:
- Readme: readme.md
- License: license
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)