Skip to content

arvindr21/wifi-password

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%