# lindell/JsBarcode

Barcode generation library written in JavaScript that works in both the browser and on Node.js

Repository: https://github.com/lindell/JsBarcode
Canonical: https://ross.abutalabs.com/products/jsbarcode
Homepage: http://lindell.me/JsBarcode
Language: JavaScript
License: MIT
License Family: permissive
Topics: barcode, javascript, barcode-generator, es2015, es6
Last push: 2026-06-23T19:07:52+00:00

## Health v2 (maintenance only)
Score: 74/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 89, release rhythm 41, longevity 100
- inputs: {"age_days": 5361, "days_push": 71, "days_rel": 238, "gap_med": 105.5, "n_releases_24m": 3}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5886, forks 1115 (observed 2026-08-28T04:09:31.931146+00:00)

## What it is
JsBarcode is a dependency-free JavaScript barcode generation library supporting formats like CODE128, EAN/UPC, CODE39, ITF, MSI, Pharmacode, and Codabar. It renders barcodes to SVG, canvas, or image elements in the browser and works in Node.js.

## Use cases
- generate barcodes in the browser
- render EAN-13 product barcodes on a webpage
- create barcode images in Node.js
- generate CODE128 barcodes as SVG
- print shipping or inventory labels with barcodes
- add barcodes to invoices or tickets

## When to choose
- you need barcode rendering in JavaScript with no dependencies
- you need many barcode formats (EAN, UPC, CODE128, CODE39, ITF, MSI, Pharmacode, Codabar)
- you want output to SVG, canvas, or img elements
- you need both browser and Node.js support

## When to avoid
- you need QR codes or 2D barcode formats
- you need server-side barcode image generation in another language
- you need barcode scanning/reading rather than generation

## Facets
- artifact type: library
- maturity: stable
- function: image-processing, ui-components
- domain: web-development, frontend, developer-tools
- platform: browser
- tags: barcode-generator, code128, ean, upc, svg, canvas, no-dependencies, nodejs, javascript

## Member repositories
- lindell/JsBarcode (main) score 74

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:31.931146+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-29T17:51:33.487555+00:00, confidence not recorded.
  - readme: https://github.com/lindell/JsBarcode (fetched 2026-08-28T04:09:31.931146+00:00, sha f957a41b1409)
  - homepage: http://lindell.me/JsBarcode (fetched 2026-08-29T08:47:13.388048+00:00, sha 0a9b30523a6d)
  - registry_npm: https://registry.npmjs.org/jsbarcode (fetched 2026-08-29T08:47:13.397745+00:00, sha 2d2f86c0294c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
