Elestia Open Source Ratings
4.6

jsQR

Keep, but not for new work. 8th of 9 QR codes and barcodes.

jsQR is a pure-JavaScript library that only reads QR codes, from raw pixel data. It has no dependencies, is still widely installed and works for simple cases. It has had no release since April 2021, and reliability problems reported in its issues go unanswered. For new work, zxing-wasm is a better reader: it is active and supports many formats.

Best for: Projects that need a tiny, dependency-free QR decoder for clean images or camera frames, in the browser or in Node, and that can live with a frozen library.

WebsiteGitHubnpm

Scores

Overall4.6

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

Claude Opus 5.5: 4.0, likely 3.0 to 5.0

jsQR still works and is easy to embed, but its development has stopped. Known decoding failures go unfixed, and it reads only QR codes. zxing-wasm reads more formats and is actively developed, so it is the better reader for new projects. Keep jsQR where it already runs, but pick something else for new work.

  • npm latestPublishedAt: No release since 2021
  • peers zxing-wasm: Active, with 97 commits last year and a release in November 2026
  • github.com/cozmo/jsQR/issues: Decoding bugs go unanswered

GPT-6.2 Sol: 5.1, likely 4.0 to 6.2

jsQR is a reasonable choice for a small feature that needs one QR result from pixels already in memory. For most new scanning projects, zxing-wasm offers better results in comparative testing, more formats, and active releases. The long gap in jsQR maintenance weighs heavily, while the value of avoiding a WebAssembly asset depends on the deployment.

Needed by many3.4

How many developers need a tool for this job?

Claude Opus 5.5: 3.5, likely 2.5 to 4.5

Reading QR codes in JavaScript is a clear niche: ticketing, payments, check-in and device pairing apps. jsQR covers only the decoding half of the category's job, and only the QR format. Within that niche it runs on any runtime.

GPT-6.2 Sol: 3.3, likely 2.1 to 4.6

Reading QR codes is a distinct need in workflows such as check-in and device pairing. jsQR works across runtimes, but its raw-pixel input and single-code output cover a narrow slice of the category. The developer survey gives no direct estimate of how often projects need QR decoding.

Helps a lot5.1

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

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

It decodes clean QR codes reliably, and its API and types are simple. Users report many failures, though: version 23 codes, light or transparent codes, large codes and some iOS cases. One benchmark measured it at about a third of the speed of a newer pure-JS decoder. zxing-wasm reads more formats and is actively improved, so jsQR is clearly behind it.

GPT-6.2 Sol: 5.7, likely 4.6 to 6.8

Version 1.4.0 has a small typed API, clear input documentation, and useful output for overlays and binary payloads. It returns one result, and users report that valid version 23 symbols can fail. In a third-party benchmark, it matched the expected text in 155 of 184 photos versus 171 for zxing-wasm, which also decoded the tested 720p frames faster. Results vary with image quality and workload.

Holds up over time2.3

Will it still be a good choice in two years?

Claude Opus 5.5: 2.0, likely 1.0 to 3.5

The last npm release is from April 2021, with no commits or releases in the last year. Issues about changelogs and release tags have gone unanswered since 2021. Independent sources call it dormant or dead, and people keep it working through forks. It is not archived, and with zero dependencies the frozen code keeps running.

GPT-6.2 Sol: 2.6, likely 1.6 to 3.8

The last npm release was in April 2021, and the collector recorded zero commits in the past year. A fix for version 23 decoding remains open, while zxing-wasm shipped a release in November 2026. The stable API and standard pixel input help existing integrations age well, but the timing of future fixes is uncertain.

Used widely5.8

How many use it, and is that growing?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

It has about 25.7M downloads in 4 weeks, up 8.8x on a year ago, above the 4.1 median. Much of that likely comes through other packages that depend on it (313 of them). It has 8,418 dependent repositories, behind node-qrcode and qrcode.react but well ahead of every other reader in the bundle. Old codebases account for much of its use, and zxing-wasm is growing faster.

  • npm downloadsLast4Weeks: 25.7M, against 2.9M a year earlier
  • dependents: 8,418 repositories and 313 packages
  • peers zxing-wasm: 21.7M downloads, up about 42x a year
  • bluesky posts: Only 1 post in 24 months

GPT-6.2 Sol: 5.6, likely 4.5 to 6.8

Four-week npm downloads rose from 2.92 million to 25.71 million, or 8.8× year over year, ahead of the catalog median of 4.1×. Ecosyste.ms found 8,418 dependent repositories, more than for ZXing JS or html5-qrcode, though zxing-wasm downloads grew faster. Automated installs, downstream wrappers, and sparse public discussion make it hard to estimate how many new projects chose jsQR directly.

  • npm downloadsLast4Weeks, npm downloadsSame4WeeksYearAgo, and medianDownloadsRatio: The 8.8× increase exceeds the 4.1× catalog median.
  • dependents and peers: The index found 8,418 repositories and 313 npm packages. zxing-wasm downloads rose about 42×.
  • github stars, bluesky posts, and hackerNews stories: 4,052 stars, one Bluesky link about multi-code reading, and zero matched Hacker News stories.
  • github.com/sinchang/qrcode-parser/blob/master/package.json: A downstream wrapper installs jsQR as a runtime dependency.
Vouched for4.8

Who stands behind it being good?

Claude Opus 5.5: 3.5, likely 2.5 to 5.0

Nimiq's qr-scanner built on an improved fork of it. Commercial and independent write-ups describe it as lightweight and reliable for simple cases. No current independent benchmark rates it well, and most recent write-ups call it dormant. There is no survey data and no Hacker News coverage.

GPT-6.2 Sol: 6.0, likely 4.8 to 7.2

GCHQ’s CyberChef uses jsQR for its QR parsing operation, and Nimiq’s scanner builds with a jsQR-derived package. An older external benchmark found good results on out-of-focus photos, while recent tests and a user report show weaknesses on harder images. Published evidence supports specific uses, and developer satisfaction data are sparse.

Safe6.0

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 4.5 to 7.0

It has zero dependencies, no known advisories and an Apache-2.0 licence, so the attack surface is small. Its OpenSSF Scorecard is 2.3, with no security policy, branch protection or SAST. Nobody is maintaining it, so a future bug would likely not be fixed. It parses untrusted images and has never been fuzzed.

  • advisories total: 0 advisories
  • npm dependencies: 0 dependencies
  • scorecard score: 2.3; Maintained, Security-Policy and Fuzzing all score 0
  • github license: Apache-2.0

GPT-6.2 Sol: 5.9, likely 4.5 to 7.2

The Apache-2.0 package has zero runtime dependencies, and OSV lists zero advisories. OpenSSF Scorecard gives it 2.3 out of 10, with weak code review and no detected security policy, branch protection, or fuzzing. npm lists two collaborators, while release safeguards and current patch response remain unclear after years without a publication.

  • npm dependencies and license: Zero runtime dependencies and a permissive Apache-2.0 licence.
  • advisories total and last24Months: OSV lists zero advisories overall.
  • scorecard score and checks: Overall 2.3, code review 2, branch protection and fuzzing 0, packaging and signing unscored.
  • github.com/cozmo/jsQR/security/policy: GitHub detects no published repository security policy.
  • npmjs.com/package/jsqr?activeTab=dependents: The indexed npm package page lists two collaborators.

Good

  • It is pure JavaScript with zero dependencies, and it runs the same way in browsers, Node and workers.
  • The API is simple: you pass RGBA pixel data, width and height, and get back the decoded data and the code's location.
  • It ships TypeScript types and has an Apache-2.0 licence.
  • It is widely used, with about 8,400 dependent repositories, so examples are easy to find and AI agents know the API well.

Bad

  • It has had no release since 1.4.0 in April 2021, and no commits in the last year.
  • It reads only QR codes: no 1D barcodes, no Data Matrix, and no QR generation.
  • Many open issues report codes it fails to read, such as large versions, light or transparent codes, and some iOS cases, and none of them get answers.
  • It is slower than WASM-based decoders, and it has no camera handling or UI.

The numbers

npm downloads, 4 weeks
26M ×8.8 in a year
GitHub stars
4.1k
Commits, 12 months
0
npm version
1.4.0 Apr 2021
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
2.3 out of 10, Nov 2026
Licence
Apache-2.0

Read on 21 November 2026 from GitHub (cozmo/jsQR), npm (jsqr), 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