nimiq/qr-scanner
qr-scanner is a JavaScript library for reading QR codes from a webcam stream or a still image. It uses the browser's native BarcodeDetector when available and otherwise falls back to a ZXing-derived engine running in a Web Worker, keeping the UI thread responsive. The minified build is roughly 59 kB, supports camera selection, flash and color-inverted codes, and installs from npm or as a plain script.
Maintenance activity