# zxing-js/library

Multi-format 1D/2D barcode image processing library, usable in JavaScript ecosystem.

Repository: https://github.com/zxing-js/library
Canonical: https://ross.abutalabs.com/products/zxing-js-library
Homepage: https://zxing-js.github.io/library/
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: zxing, typescript, qrcode, barcode, decoding-images, encoding-library, hacktoberfest
Last push: 2026-08-20T20:31:02+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 81, longevity 100
- inputs: {"age_days": 3184, "days_push": 13, "days_rel": 126, "gap_med": 1, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2930, forks 579 (observed 2026-08-28T04:07:30.633563+00:00)

## What it is
ZXing TypeScript is an open-source, multi-format 1D/2D barcode image processing library ported from the Java ZXing project. It can decode barcodes (QR Code, Data Matrix, Aztec, PDF417, UPC, EAN, Code 128, and more) from images or video camera streams, and encode QR codes, in both browser and Node.js environments.

## Use cases
- scan qr codes from webcam in browser
- decode barcode from an image file in javascript
- read pdf417 from image in a web app
- generate qr code as svg in node
- scan 1d barcodes from video camera
- decode data matrix codes in typescript
- add barcode scanning to a web page

## When to choose
- you need multi-format 1D/2D barcode decoding in JavaScript or TypeScript
- you want browser-based camera barcode scanning without native dependencies
- you need a free, permissively licensed (Apache-2.0) port of the Java ZXing library
- you need to generate QR codes as SVG from Node or the browser

## When to avoid
- you need actively developed features or a public roadmap - the project is in maintenance mode
- you require commercial support or guaranteed bug-fix turnaround
- you need production-ready MaxiCode, RSS-Expanded, or Micro-QR support
- you want a maintained alternative with vendor backing

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, computer-vision, parser
- domain: computer-vision, image-processing, web-development, frontend
- platform: browser, cross-platform
- tags: barcode, qrcode, zxing, barcode-scanning, barcode-generation, data-matrix, pdf417, aztec-code, nodejs, typescript

## Member repositories
- zxing-js/library (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:30.633563+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:33:26.957445+00:00, confidence not recorded.
  - readme: https://github.com/zxing-js/library (fetched 2026-08-28T04:07:30.633563+00:00, sha a08ea211e6c6)
  - homepage: https://zxing-js.github.io/library/ (fetched 2026-08-29T09:48:57.395854+00:00, sha 8e541463bacb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
