Elestia Open Source Ratings
7.4

bwip-js

A strong pick. 2nd of 9 QR codes and barcodes.

bwip-js is a pure-JavaScript port of Barcode Writer in Pure PostScript (BWIPP). It generates more than 100 barcode types, including QR, Data Matrix, PDF417, Aztec, GS1 and postal codes, as PNG, canvas or SVG. It is the strongest choice when you need to generate many barcode types or barcodes that must meet a standard. It cannot read barcodes, and it is more than you need for a simple QR code or Code 128.

Best for: Teams that must generate many barcode types correctly, such as GS1, 2D, postal or industrial labels, in Node, the browser or React Native.

GitHubnpm

Scores

Overall7.4

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

Claude Opus 5.5: 7.0, likely 6.0 to 8.0

It is the clear best pick for generating barcodes across many types and standards. It is well maintained and gaining ground faster than the median. It is not the default for the whole category: it cannot read barcodes, and for a simple QR code (qrcode) or a 1D barcode (JsBarcode) a lighter peer is easier. The single maintainer and weak repository security process keep it from scoring higher.

GPT-6.2 Sol: 7.8, likely 6.7 to 8.8

bwip-js is a strong new-project choice when you need to generate several barcode formats, especially GS1 and less common 2D formats. JsBarcode is simpler for basic linear labels, and ZXing WASM is a better fit when the same library needs to scan and generate codes. Quick patches and rising relative downloads support the recommendation. Concentrated release ownership and recent upgrade regressions keep it below a category-wide default.

Needed by many4.4

How many developers need a tool for this job?

Claude Opus 5.5: 4.5, likely 3.5 to 5.5

Generating barcodes is a clear niche, mostly retail, logistics, labels and admin apps. bwip-js covers only the generating half of the category's job, not reading. Its many runtimes keep it from being narrower.

  • github.com/metafloor/bwip-js: Writer only; runs on Node, browser, React Native and Electron
  • category.job: The category covers both making and reading codes

GPT-6.2 Sol: 4.2, likely 3.1 to 5.3

Barcode generation serves a clear niche in retail, logistics, inventory, and QR-enabled workflows. Browser, Node.js, and React Native support make it useful across those settings, and GS1’s move toward 2D retail barcodes gives teams a reason to support several formats. The share of JavaScript and TypeScript projects that need a generator is hard to measure.

Helps a lot8.1

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

Claude Opus 5.5: 8.0, likely 7.0 to 9.0

Its symbology coverage and adherence to the standards are the best of any JavaScript generator, because it comes straight from BWIPP. It has types and several output formats. It loses points for a heavier footprint, an option-string API that is less friendly than JsBarcode's, and cryptic errors. AI agents handle the basic toBuffer and toCanvas calls well.

GPT-6.2 Sol: 8.1, likely 7.0 to 9.1

Version 4.11.4 offers more barcode formats than JsBarcode, with TypeScript declarations and examples for common rendering tasks. The examples give coding agents a clear starting point, though selecting the right runtime import and GS1 options takes care. ZXing WASM covers decoding as well, and the available bwip-js timing results come from its maintainer, so relative performance remains uncertain.

Holds up over time6.7

Will it still be a good choice in two years?

Claude Opus 5.5: 6.5, likely 5.0 to 8.0

The project has been active for 11 years. It shipped 11 releases last year, the latest in August 2026 tracking BWIPP 2026-05-28, and has only 37 open issues. Its weakness is that it depends on a single unpaid maintainer, who has only 7 contributors and few merged PRs behind him. Breaking changes are rare and documented, such as the EAN height change in 4.10.

  • github releasesLastYear: 11 releases, latest 2026-08-19
  • github contributors: 7 contributors; work centered on one maintainer
  • github openIssues/closedIssues: 37 open vs 301 closed
  • github.com/metafloor/bwip-js: Release notes document breaking changes, such as the 4.10 EAN height change

GPT-6.2 Sol: 6.8, likely 5.4 to 8.0

The project shipped 11 releases from 12 commits over the past year and fixed a reported SVG regression the same day. The latest release was about three months before the snapshot, and the recent GitHub releases came from one account. A minor release broke Node.js ESM imports until the next patch, and another change in the same minor series altered label dimensions. The evidence leaves release coverage and funding uncertain.

Used widely4.8

How many use it, and is that growing?

Claude Opus 5.5: 5.0, likely 4.0 to 6.0

It had about 7.1M downloads in the last 4 weeks, against 0.9M a year earlier. That ratio of 7.9 is well above the median of 4.1, so it is gaining ground. It still trails JsBarcode, qrcode and ZXing in downloads, and its 353 dependent repos are far fewer than JsBarcode's 2,375. Some downloads are likely transitive.

  • npm downloadsLast4Weeks: 7.09M, up from 0.90M a year earlier (ratio 7.9)
  • medianDownloadsRatio: Median is 4.1, so bwip-js is gaining
  • dependents: 353 repos and 83 packages, low against its peers
  • github stars: 2,431 stars

GPT-6.2 Sol: 4.5, likely 3.1 to 5.9

Four-week downloads rose from about 895,000 to 7.09 million, a 7.9× increase against the catalog median of 4.1×. That suggests a gain in relative install share, though download counts include repeated and indirect installs. The 353 indexed repositories and 83 dependent packages show a smaller direct footprint than JsBarcode or node-qrcode. CDN distribution and separate platform packages make the main package an incomplete measure of use.

  • evidence.npm.downloadsLast4Weeks, evidence.npm.downloadsSame4WeeksYearAgo, medianDownloadsRatio: Download growth is about 7.9× against a 4.1× catalog baseline.
  • evidence.dependents, evidence.github.stars, peers: The index finds 353 repositories versus 2,375 for JsBarcode and 31,627 for node-qrcode.
  • cdnjs.com/libraries/bwip-js: Distributes the current release outside npm installs.
  • github.com/metafloor/bwip-js: Lists separately published platform packages.
Vouched for5.2

Who stands behind it being good?

Claude Opus 5.5: 4.5, likely 3.0 to 6.0

Its correctness rests on the long-established BWIPP project, which is used widely in printing and labeling. It also has steady downstream use, including wrappers for Angular and jQuery. I found no current independent benchmarks, survey data, or public production users who name it, and there is no Hacker News or Bluesky discussion.

GPT-6.2 Sol: 5.8, likely 4.5 to 7.1

TMS Software builds its barcode component on bwip-js, and Forge uses it for printable inventory labels. QRBarcodeTools uses bwip-js for Data Matrix, PDF417, and Aztec, and uses JsBarcode for linear drawing. A German health project also documented Data Matrix use on an older release. These integrations establish practical use, while current head-to-head benchmarks and survey-based satisfaction remain unverified.

Safe6.8

How safe is it to depend on?

Claude Opus 5.5: 7.0, likely 5.5 to 8.0

It has no dependencies, no known advisories in its 11-year history, and an MIT licence, so the attack surface is small. The OpenSSF Scorecard is 2.5, with no branch protection, code review, security policy or SAST. Releases come from one person's account, which is a supply-chain concentration risk.

  • advisories total: 0 advisories
  • npm dependencies: 0 runtime dependencies
  • scorecard score: 2.5; Code-Review, Branch-Protection and Security-Policy all score 0
  • npm license: MIT

GPT-6.2 Sol: 6.6, likely 5.3 to 7.9

The package has zero runtime dependencies, a permissive MIT license, and no advisories in the supplied OSV snapshot. OpenSSF Scorecard rates it 2.5 out of 10, with zero scores for code review, branch protection, and security policy. Recent GitHub releases come from one account, and the available evidence leaves npm publisher redundancy and release signing uncertain.

  • evidence.npm.dependencies, evidence.npm.license, evidence.advisories: Zero runtime dependencies, MIT license, and zero recorded OSV advisories.
  • evidence.scorecard: Scores code review, branch protection, and security policy at zero. Signing and packaging are unscored.
  • github.com/metafloor/bwip-js/security: GitHub reports no detected security policy.
  • github.com/metafloor/bwip-js/releases: Recent GitHub releases are attributed to one account.

Good

  • It covers more barcode types than any peer: over 100, including GS1 DataBar, MaxiCode, Aztec and postal codes.
  • It tracks upstream BWIPP closely, so encoding follows the barcode standards and gets regular fixes.
  • It has no runtime dependencies, ships its own types, and has separate builds for Node, the browser, React Native and a generic target.
  • It outputs PNG, canvas and SVG, and also offers a command line tool and an HTTP handler.

Bad

  • It only generates barcodes and cannot read or scan them.
  • The package is large (about 13 MB unpacked), and the API, built around bcid and option strings, is harder to learn than JsBarcode or qrcode.
  • One maintainer does nearly all the work, and the repository has weak security process (Scorecard 2.5, no branch protection or code review).
  • Error messages carry over from the PostScript original and can be hard to understand.

The numbers

npm downloads, 4 weeks
7.1M ×7.9 in a year
GitHub stars
2.4k
Commits, 12 months
12
npm version
4.11.4 Aug 2026
Versions, 12 months
11
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 (metafloor/bwip-js), npm (bwip-js), 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