🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

wifi-qr

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wifi-qr

Command-line utility to generate QR codes for wifi access

0.0.16
latest
Source
npm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

wifi-qr

A library and command-line utility for generating QR codes with embedded wifi credentials

Background

Wifi QR codes are readable by iOS 11+ and Android 10+ devices. The QR codes embed the network SSID, auth type, and password, making it easy to share credentials with guests, for example. Long passwords can be deployed and shared easily with this method.

Installation

npm install -g wifi-qr

Usage

Providing a password via command-line argument:

wifi-qr --ssid "my network ssid" --password "my network password" --type wpa qr.png

Providing a password via stdin:

echo "my network password" > password.txt
wifi-qr --ssid "my network ssid" --type wpa qr.png < password.txt

SVG and PNG output formats are supported.

Run wifi-qr --help for more information about the command-line interface.

Development

Compile Typescript:

npm run compile

Check code formatting:

npm run prettier
# or, to automatically fix formatting
npm run prettier:fix

Keywords

qr

FAQs

Package last updated on 29 Mar 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts