Socket
Socket
Sign inDemoInstall

wifi-qr

Package Overview
Dependencies
31
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    wifi-qr

Command-line utility to generate QR codes for wifi access


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
1.74 MB
Created
Weekly downloads
 

Readme

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

FAQs

Last updated on 29 Mar 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc