Created
August 13, 2020 13:38
-
-
Save nitobuendia/8d2009f22c3edaff034329271cc5bcdb to your computer and use it in GitHub Desktop.
Generate Wifi QR Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Can be run without npm installation on https://npm.runkit.com/qrcode | |
| const qrcode = require('qrcode'); | |
| qrcode.toDataURL('WIFI:S:<SSID>;T:<WPA|WEP|>;P:<password>;;', {width: 500}, (err, url) => { | |
| console.table(url); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment