Skip to content
 
 

Latest commit

 

History

52 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wifi-password

Get current wifi password

Install

$ npm install --save wifi-password

Usage

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.

CLI

$ npm install --global wifi-password
$ wifi-password --help

  Usage
    $ wifi-password
    johndoesecretpassword

    $ wifi-password foo-network
    foosecretpassword

License

MIT © Kevin Mårtensson

About

Get current wifi password

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages