Description
ZXing for JS Browser is the browser layer for the ZXing barcode library in JavaScript. ZXing is a barcode image processing library that was originally written in Java and has been ported to other languages. This package makes it easier to scan barcodes in a web page. It can scan continuously from a webcam until you stop, or decode a single barcode with a one-time scan that resolves when the first code is found. It can also decode barcodes from an image or video URL, or from an image or video element already on the page. You can choose a camera device or pass your own camera constraints. It handles webcam use for cameras connected to the computer, but it does not support physical barcode readers. The package installs with yarn or npm, or loads from a CDN with a script tag, and it supports ES modules, AMD and UMD. The complete decoding API for use outside the browser is in a separate package.…
Highlights
- Continuous barcode scanning from a webcam
- Decode barcodes from image or video URLs and elements
- Choose a camera or pass custom constraints
- One-time scan that resolves on the first barcode
- Works with ES modules, AMD, UMD or a script tag
Ratings & Reviews
No ratings yet
Be the first to rate Browser.
People also visit
Barcode Scanner
A Progressive Web Application (PWA) that scans barcodes of various formats…
Browser FAQ
What does it do?
It lets web pages scan barcodes in the browser, using the ZXing library.
Does it work with hardware barcode readers?
No. The README says it does not offer support for physical barcode readers.
How do I install it?
With yarn or npm, or by loading it from a CDN with a script tag.
Can it scan one barcode and stop?
Yes. decodeOnceFromVideoDevice waits until the first barcode is detected.
Is it open source?
Yes. The repository is public on GitHub.
What are the best Browser alternatives?
Popular alternatives to Browser include Qrcode, Mini QR and Barcode Scanner. See all Browser alternatives



