Get current wifi password
$ npm install --save wifi-password
const wifiPassword = require('wifi-password');
wifiPassword().then(password => {
console.log(password);
//=> 'johndoesecretpassword'
});
Returns a promise that resolves to a string containing the password.
Type: string
Get the wifi password for a specified known network.
- wifi-password-cli - CLI for this module.
MIT © Kevin Mårtensson