@stackch/barcode
v1.0.1
Published
Angular barcode library (render + scanner)
Maintainers
Readme
@stackch/barcode
Angular 20+ standalone barcode component library. Supports 1D barcodes (EAN, CODE128, etc.), QR codes, DataMatrix, and more.
Features
- Standalone Angular component (no NgModule required)
- 1D barcode rendering via JsBarcode
- QR code rendering via qrcode
- DataMatrix via @zxing/library
- Error handling for unsupported formats
- Material wrapper available
Installation
npm install @stackch/barcodeor with yarn:
yarn add @stackch/barcodeUsage
<stackch-barcode [value]="'1234567890'" [format]="'CODE128'"></stackch-barcode>Supported Formats
- CODE128, EAN, UPC, ITF, etc. (JsBarcode)
- QR (qrcode)
- DataMatrix (@zxing/library)
Demo
See /projects/demo for a full-featured Angular Material demo.
License
MIT
