@barqscan/web
v0.1.4
Published
Fast camera barcode scanning for the web — EAN, UPC, Code 128, QR and more, powered by WebAssembly.
Maintainers
Readme
@barqscan/web
Fast camera barcode scanning for the web. EAN, UPC, Code 128, Code 39, ITF, Codabar, QR, DataMatrix, PDF417 and Aztec — decoded on-device with WebAssembly, no images ever leave the browser.
npm install @barqscan/webimport * as BarqScan from "@barqscan/web";
await BarqScan.configure("BARQ-XXXXX-XXXXX-XXXXX-XXXXX");
const scanner = await BarqScan.ScannerView.create(
document.getElementById("scanner"),
{ symbologies: ["ean13", "code128"], duplicateFilter: 3000 },
);
scanner.on("scan", ({ barcodes }) => {
console.log(barcodes[0].data);
});- Free on localhost and private-network IPs — no key required to develop.
- Production domains need a license key from https://portal.barqscan.com.
- Full docs: https://docs.barqscan.com
License
Commercial. See https://barqscan.com/pricing.
