0.0.6 • Published 9 months ago

qr-detector v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

QrDetector is a JavaScript library that implements the BarcodeDetector interface, but only for QR codes. If the web browser supports it then QrDetector will use the native BarcodeDetector, otherwise it will fall back to jsQR.

By using the BarcodeDetector interface, it is extremely easy to swap in QrDetector. You will also be able to easily get rid of QrDetector later when BarcodeDetector becomes more widely implemented.

The library works around a Google Chrome bug by doing a test detection on a hard-coded QR code.

You can get this package from npm, or load the code directly in a <script> tag (see demo page).

0.0.6

9 months ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago