Elestia Open Source Ratings
6.0

node-qrcode

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

node-qrcode (`qrcode` on npm) is the most-used QR code generator for Node and the browser. It is mature and gives you PNG, SVG, canvas, data URL and terminal output. It has had no commits or releases since August 2024, so it works today but is a frozen dependency.

Best for: Projects that need plain QR code generation on a server, in a CLI or in the browser, with no styling, and that can accept a library that no longer changes.

GitHubnpm

Scores

Overall6.0

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

Claude Opus 5.5: 5.5, likely 4.5 to 6.5

It is still the most-used and most complete plain QR generator for Node, and it does the job correctly. But it has been frozen since August 2024. It has no bundled types and no ES module build, and the CLI dependencies it carries cannot be fixed upstream. For React UIs, qrcode.react is the better-kept choice, and qr-code-styling is better for styled codes. Use this one for server-side generation, knowing it is unmaintained.

GPT-6.2 Sol: 6.4, likely 5.2 to 7.5

The rendering API and established integrations make node-qrcode a reasonable choice for standard QR generation, especially when a Node service needs PNG and SVG output. The release gap and unresolved packaging issues lower confidence for a new project. For React-only rendering, qrcode.react offers native components, while zxing-wasm is the more capable choice when a project also needs scanning or multiple barcode formats.

Needed by many4.5

How many developers need a tool for this job?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

Many web and backend apps need to make QR codes, for things like 2FA setup, tickets, payments and sharing links. Still, this is a clear niche, not something most projects need. The package only generates QR codes: no barcodes and no scanning. That makes it narrower than its category, but it runs in both Node and the browser.

GPT-6.2 Sol: 3.9, likely 2.8 to 5.1

QR generation serves specific workflows such as device pairing, sharing links, and retail packaging. Browser and Node.js support make the library useful across frameworks, while its QR-only output limits its role in barcode projects. The available evidence shows where teams use QR codes, but gives little basis for estimating how many JavaScript projects need to generate them.

Helps a lot6.8

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

Claude Opus 5.5: 6.5, likely 5.5 to 7.5

It is a full, correct QR encoder with many output targets and a CLI. That is what most users need, and AI agents write correct code for its simple API. Its limits are clear: types come only from DefinitelyTyped, there is no ES module build, ECI support is incomplete, and the browser build is about 135 kB. It also has no styling. qr-code-styling does branded codes better, and qrcode.react fits React apps better.

GPT-6.2 Sol: 7.1, likely 6.1 to 8.1

Version 1.5.4 has a well-documented API for common rendering tasks and flexible controls for segmentation and error correction. The examples are clear enough for routine use by developers and coding agents, though browser and server methods differ and the types install separately. The missing browser bundle makes the README's script-tag instructions unreliable. Benchmarks by other library authors put its encoding in the low milliseconds or faster for common payloads, with faster options for high-volume work.

Holds up over time3.2

Will it still be a good choice in two years?

Claude Opus 5.5: 3.0, likely 2.0 to 4.5

There were no commits or releases in the last year. The last push and publish were in August 2024, and 41 pull requests are open, including 2026 PRs that update or replace yargs. The project has one maintainer, with no funding or co-maintainers in sight. The QR standard is stable, so the code will keep working, but fixes for dependency or ESM problems are unlikely. Community forks such as @slidoapp/qrcode exist.

GPT-6.2 Sol: 3.4, likely 2.2 to 4.8

The repository is open, but the bundle records zero commits and zero npm releases in the past year. The standalone browser build remains missing after multiple patch releases, and an ESM request and QR mask fix are still open. The stable QR format helps the existing API age well, while two listed npm maintainers and sparse public activity leave the timing of future fixes unclear.

Used widely7.6

How many use it, and is that growing?

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

It had 164M downloads in 4 weeks, against 19M a year earlier. That ratio of about 8.6 is well above the 4.1 median, and the count is the highest in the category. Much of that volume probably comes from installs as a dependency of other packages. Still, 31.6k dependent repositories and 2.5k dependent packages lead every peer, and qrcode.react is next at 19k. That points to hundreds of thousands of projects choosing it.

  • npm downloadsLast4Weeks: 163.9M, against 19.1M a year earlier
  • dependents: 31,627 repos and 2,464 packages, the most in the category
  • github stars: 8.2k stars, the most among peers

GPT-6.2 Sol: 7.1, likely 5.9 to 8.3

The 31,627 indexed dependent repositories lead the peer group, and four-week npm downloads rose from 19.1 million to 163.9 million. Its 8.57× ratio is above the 4.1× catalog baseline, with jsQR, html5-qrcode, and zxing-wasm growing faster. Automated installs and downstream wrappers make it hard to tell how much of that growth comes from projects choosing qrcode directly.

  • dependents repos, packages: ecosyste.ms indexed 31,627 repositories and 2,464 npm packages.
  • npm downloadsLast4Weeks, downloadsSame4WeeksYearAgo, medianDownloadsRatio: Downloads grew 8.57× against a 4.1× catalog median.
  • peers dependentRepos, downloadsLast4Weeks, downloadsSame4WeeksYearAgo: Leads in indexed dependents, with three peers growing faster by downloads.
  • npmjs.com/package/angularx-qrcode?activeTab=dependencies: Angular and Ionic wrapper installs qrcode as a dependency.
Vouched for6.0

Who stands behind it being good?

Claude Opus 5.5: 5.0, likely 4.0 to 6.5

Its main validation is that thousands of packages depend on it and that comparison sites call it the standard general-purpose generator. I found no current survey data, independent benchmarks, or named companies that endorse it. It got no attention on Hacker News or Bluesky in the period measured.

GPT-6.2 Sol: 7.0, likely 5.8 to 8.0

Bosch lists qrcode 1.5.4 in its Remote Diagnostics disclosure, and VueUse and angularx-qrcode build their QR features on it. Published benchmarks provide an outside check on encoding speed. Those sources show real adoption and usable performance, while the 2025 State of JavaScript survey offers no package-level satisfaction measure.

Safe5.9

How safe is it to depend on?

Claude Opus 5.5: 6.0, likely 5.0 to 7.0

No advisories have been filed against the package, and the MIT licence is permissive. But the OpenSSF Scorecard is 2.5: the project has no security policy, no branch protection and little code review. It has one publisher. yargs is a runtime dependency, which brings in a chain of transitive packages that has set off audit warnings several times since 2019. Fixes to that are now stuck in open PRs.

  • advisories total: 0 advisories
  • scorecard score: 2.5, with Security-Policy, Branch-Protection and SAST all at 0
  • github.com/soldair/node-qrcode/issues?q=yargs: Repeated audit warnings about yargs transitive dependencies
  • npm dependencies: 3 direct dependencies, one of them yargs

GPT-6.2 Sol: 5.8, likely 4.4 to 7.2

The package has a permissive MIT licence, three direct dependencies, and no direct OSV advisories in the bundle. Its OpenSSF Scorecard is 2.5, with zero scores for branch protection and security policy. The CLI brings in an older yargs dependency tree, and the long release gap makes a future security response hard to predict.

  • advisories total, last24Months: Zero direct OSV advisories in the snapshot.
  • scorecard score, checks: 2.5 overall, with weak code review and zero scores for branch protection and security policy.
  • registry.npmjs.org/qrcode/latest: Confirms MIT, three direct dependencies, yargs 15, and two listed maintainers.
  • github.com/soldair/node-qrcode/pull/408: The proposed change to reduce the CLI dependency tree remains open.

Good

  • One API outputs PNG files, data URLs, SVG strings, canvas and terminal text.
  • It supports every QR encoding mode, including mixed segments that are optimised automatically, plus error-correction levels and version control.
  • It has more dependent repositories than any peer in the category (about 31.6k), so its behaviour is well proven.
  • It has no known advisories, and the MIT licence is permissive.

Bad

  • It has had no commits or releases since August 2024, and pull requests that update dependencies sit unmerged.
  • It ships no TypeScript types (you need @types/qrcode) and no ES module build.
  • yargs is a runtime dependency because of the CLI, so audit warnings about its transitive dependencies keep coming back.
  • It cannot add logos, colours by shape or other styling, and it cannot read QR codes.

The numbers

npm downloads, 4 weeks
164M ×8.6 in a year
GitHub stars
8.2k
Commits, 12 months
0
npm version
1.5.4 Aug 2024
Versions, 12 months
0
Advisories, 24 months
0 of 0 ever
OpenSSF Scorecard
2.5 out of 10, Nov 2026
Licence
MIT

Read on 21 November 2026 from GitHub (soldair/node-qrcode), npm (qrcode), 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