# serratus/quaggaJS

An advanced barcode-scanner written in JavaScript

Repository: https://github.com/serratus/quaggaJS
Canonical: https://ross.abutalabs.com/products/quaggajs
Homepage: https://serratus.github.io/quaggaJS/
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2023-07-05T15:53:10+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4382, "days_push": 1155, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5207, forks 974 (observed 2026-08-28T04:09:12.179401+00:00)

## What it is
QuaggaJS is a barcode-scanner library written entirely in JavaScript that supports real-time localization and decoding of barcode types such as EAN, CODE 128, CODE 39, UPC-A, and CODABAR. It can analyze static images or access the user's camera via getUserMedia for live-stream decoding, with a locator that is invariant to scale and rotation.

## Use cases
- scan barcodes from the device camera in a web app
- decode EAN or UPC barcodes from product images
- read CODE 128 barcodes from static images in the browser
- build a barcode scanner that works on smartphones without a native app
- detect rotated or scaled barcodes in images
- add barcode scanning to a web-based inventory tool

## When to choose
- you need pure-JavaScript barcode decoding in the browser without native dependencies
- you need to scan barcodes from a live camera stream or static images
- you need rotation- and scale-invariant barcode localization
- you need support for many 1D barcode formats like EAN, UPC, CODE 128, and CODABAR

## When to avoid
- you need to scan 2D codes like QR codes or Data Matrix
- you need a maintained library with active development and recent fixes
- you need native mobile performance for high-volume industrial scanning
- you need server-side decoding in a non-JavaScript environment

## Facets
- artifact type: library
- maturity: maintenance
- function: computer-vision, image-processing, ocr
- domain: computer-vision, image-processing, web-development, frontend
- platform: browser, cross-platform
- tags: barcode-scanner, barcode-decoding, camera-access, getusermedia, ean, code128, real-time-decoding, nodejs, javascript

## Member repositories
- serratus/quaggaJS (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:12.179401+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-29T18:00:13.650713+00:00, confidence not recorded.
  - readme: https://github.com/serratus/quaggaJS (fetched 2026-08-28T04:09:12.179401+00:00, sha cacbb1573e8d)
  - homepage: https://serratus.github.io/quaggaJS/ (fetched 2026-08-29T08:55:33.426311+00:00, sha 906bbdb95b1d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
