# nimiq/qr-scanner

Lightweight Javascript QR Code Scanner

Repository: https://github.com/nimiq/qr-scanner
Canonical: https://ross.abutalabs.com/products/qr-scanner
Homepage: https://nimiq.github.io/qr-scanner/demo
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2024-03-30T18:17:54+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3209, "days_push": 886, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2886, forks 580 (observed 2026-08-28T04:07:28.193212+00:00)

## What it is
A lightweight JavaScript/TypeScript QR code scanner library based on Cosmo Wolfe's port of Google's ZXing library. It supports webcam video stream and single-image scanning, runs in a WebWorker, and uses the browser's native BarcodeDetector when available.

## Use cases
- scan QR codes from the webcam in a web app
- decode QR codes from uploaded images in the browser
- add QR code login to a website
- read QR codes without freezing the UI thread
- scan colored or inverted QR codes in JavaScript

## When to choose
- you need a small, fast, browser-based QR scanner with high detection accuracy
- you want webcam and image scanning out of the box
- you need the main thread to stay responsive during scanning

## When to avoid
- you need to scan barcode formats other than QR codes
- you need QR scanning in a native mobile app rather than the browser
- your target browsers lack WebWorker or camera API support

## Facets
- artifact type: library
- maturity: stable
- function: computer-vision, image-processing, sdk
- domain: web-development, frontend, computer-vision
- platform: browser
- tags: qr-code, barcode-scanning, webcam, web-worker, lightweight, typescript, web-server, nodejs

## Member repositories
- nimiq/qr-scanner (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:28.193212+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:35:23.297827+00:00, confidence not recorded.
  - readme: https://github.com/nimiq/qr-scanner (fetched 2026-08-28T04:07:28.193212+00:00, sha f7d858a36394)
  - homepage: https://nimiq.github.io/qr-scanner/demo (fetched 2026-08-29T09:51:00.393202+00:00, sha a134fa837919)
  - registry_npm: https://registry.npmjs.org/qr-scanner (fetched 2026-08-29T09:51:00.402489+00:00, sha 492d7ab7801b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
