Elestia Open Source Ratings
5.5

ZXing JS

Reasonable, with limits. 7th of 9 QR codes and barcodes.

ZXing JS is a pure TypeScript port of the Java ZXing library. It reads many 1D and 2D barcode formats and writes a few. It still works and is widely installed, but its README says it is in maintenance mode and is looking for maintainers. For new scanning work, zxing-wasm (a WebAssembly build of the actively developed ZXing-C++) is usually the better pick.

Best for: Projects that already use it, or that need a multi-format barcode reader in pure JavaScript and cannot ship WebAssembly.

WebsiteGitHubnpm

Scores

Overall5.5

How strongly do we recommend it for a new project today?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

It still works for multi-format scanning in pure JavaScript and stays widely installed. It is in maintenance mode and asks for maintainers, and zxing-wasm now does the same job faster and more accurately with active development. Keep it where it runs, but for new scanning work choose zxing-wasm, or jsQR if you only need to read QR codes.

GPT-6.2 Sol: 6.5, likely 5.4 to 7.5

ZXing JS is a reasonable choice for new multi-format scanners that need a typed JavaScript decoder without a WebAssembly asset. For teams that can ship WebAssembly, zxing-wasm is the stronger general-purpose choice because it writes more formats and releases more actively. For generation alone, node-qrcode is simpler for QR output and bwip-js covers many more barcode types. Maintenance mode and limited current evidence on scan reliability keep ZXing JS below the category leaders.

Needed by many4.2

How many developers need a tool for this job?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

Reading barcodes from images or a camera is a clear but limited need, found mainly in retail, logistics, ticketing and inventory apps. The library is mostly a reader. Its encoding side is thin, while QR generation, the larger part of the category, is served by other packages.

GPT-6.2 Sol: 3.9, likely 2.6 to 5.2

Barcode scanning serves a distinct set of workflows such as inventory, ticketing, and document capture. ZXing JS covers several of those workflows with a framework-independent decoder for browser and server use. The State of JavaScript results give no direct estimate of how many developers need barcode tooling, so the range is wide.

Helps a lot6.1

How well does it do the job for those who need it?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Its format coverage is broad, and it ships TypeScript types and a well-known API, so AI coding agents write code for it reliably. Tests by others show weak reading of fine or degraded 1D codes and of Aztec and Data Matrix. A port in JavaScript is also slower than the WebAssembly build of ZXing-C++. zxing-wasm does the same job better for most people.

GPT-6.2 Sol: 7.2, likely 6.1 to 8.2

Version 0.23.0 adds MaxiCode decoding and logs unexpected decoder errors. Its typed reader was faster than jsQR in an external synthetic QR benchmark, with mixed results on distorted images. The main example leaves several imports implicit, and the generic writer handles QR only. User reports of missed scans and limited current testing across formats leave real-world accuracy uncertain.

Holds up over time3.9

Will it still be a good choice in two years?

Claude Opus 5.5: 3.0, likely 2.0 to 4.5

The README says the project is in maintenance mode, takes only contributed patches and wants new maintainers. In the last year it had 25 commits and 2 releases, and the Scorecard rates Maintained at 0. It is not archived, but the ecosystem is moving to zxing-wasm, and the npm-compare page reports a new Node >=24 engines requirement.

GPT-6.2 Sol: 4.8, likely 3.5 to 6.2

The repository recorded 25 commits over the year, and one account published both April releases after a 20-month gap. The project relies on contributed patches and has a modest donation budget and no active roadmap. An open QR decoding report and an Angular install conflict show the support and upgrade costs users can encounter. The April releases show that meaningful fixes can still land, while the pace of future releases remains uncertain.

Used widely5.1

How many use it, and is that growing?

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

It had 12.5M downloads in 4 weeks, up from 1.9M a year before. That ratio of 6.4 is above the median of 4.1, but much of it comes through html5-qrcode and the @zxing wrappers. Its 2,062 dependent repos put it in the middle of the peers, below jsQR and node-qrcode, and there are no Hacker News stories or Bluesky posts. Direct choices are likely in the tens of thousands.

  • npm downloadsLast4Weeks: 12.47M, against 1.94M a year ago
  • dependents repos: 2,062 repos and 223 packages
  • peers html5-qrcode: 8.7M downloads, depends on @zxing/library
  • bluesky posts: 0 posts

GPT-6.2 Sol: 4.6, likely 3.4 to 5.8

Downloads rose 6.44 times year over year, above the catalog median of 4.1 times and behind most listed peers. Tracked use sits near the middle of the category, with 2,062 dependent repositories and 223 dependent npm packages. Browser wrappers can drive indirect installs, and projects that bundle a copy can go uncounted, so direct adoption is uncertain.

Vouched for5.3

Who stands behind it being good?

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

It carries the ZXing name, and html5-qrcode and the Angular ngx-scanner are built on it. The current independent write-ups mostly call it unmaintained or point to newer engines. The detailed benchmarks come from commercial vendors and show middling accuracy.

GPT-6.2 Sol: 6.5, likely 5.3 to 7.7

Oracle Hospitality lists ZXing JS 0.21.3, and html5-qrcode ships a fork of its decoder. Offline Barcode Reader uses it for Aztec and PDF417 and as a fallback. These deployments show practical value across formats, while the available benchmark covers synthetic QR images and the developer survey offers no package-specific satisfaction data.

Safe6.7

How safe is it to depend on?

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

It has no advisories, one runtime dependency and an Apache-2.0 licence, so the attack surface is small. The Scorecard is 3.5. It has no security policy, weak code review and unpinned dependencies, and with few active maintainers a future issue could be fixed slowly.

  • advisories total: 0 advisories
  • npm dependencies: 1 dependency
  • scorecard score: 3.5, Security-Policy 0, Code-Review 3
  • github license: Apache-2.0

GPT-6.2 Sol: 6.9, likely 5.7 to 8.0

OSV lists zero advisories, and the Apache-2.0 package has one required dependency and an optional encoding package. GitHub Actions built, tested, and published 0.23.0 with npm provenance, and npm lists two collaborators. The 3.5 OpenSSF Scorecard reflects weak review, dependency pinning, and workflow token permissions, and the repository lacks a security policy. The advisory record gives little evidence about how the project would handle a reported vulnerability.

Good

  • It decodes many formats from one API, including QR, Data Matrix, Aztec, PDF417, Code 128 and EAN, and it can also encode some of them.
  • It is pure TypeScript with built-in types, one dependency and no WebAssembly to load.
  • Wrappers build on it, such as @zxing/browser and @zxing/ngx-scanner, and html5-qrcode depends on it.
  • It has no known security advisories and uses the permissive Apache-2.0 licence.

Bad

  • Its README says it is in maintenance mode: it takes only contributed bug fixes, has no roadmap and is asking for new maintainers.
  • Independent tests find it weak on fine, faded or damaged 1D codes, and its reading of Aztec and Data Matrix is unreliable.
  • zxing-wasm, the WebAssembly build of the C++ ZXing, is faster, supports more formats and gets far more commits.
  • 179 issues are open, and the OpenSSF Scorecard is only 3.5, with no security policy and unpinned dependencies.

The numbers

npm downloads, 4 weeks
12M ×6.4 in a year
GitHub stars
3k
Commits, 12 months
25
npm version
0.23.0 Apr 2026
Versions, 12 months
2
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
3.5 out of 10, Oct 2026
Licence
Apache-2.0

Read on 21 November 2026 from GitHub (zxing-js/library), npm (@zxing/library), OSV and the OpenSSF Scorecard.

QR codes and barcodes

  1. 7.9zxing-wasm
  2. 7.4bwip-js
  3. 7.2qrcode.react
  4. 6.5JsBarcode
  5. 6.1QR Code Styling
  6. 6.0node-qrcode
  7. 5.5ZXing JS
  8. 4.6jsQR
  9. 4.1html5-qrcode
Compare all 9 on six scores