ngx-barcode
A barcode component for Angular4+.
An angular component for Angular 4+ for creating 1-D barcodes based on Lindell's JsBarcode.
Demo
Basic demo.
Features
- supports all barcode formats provided by JsBarcode
- CODE128
- EAN
- CODE39
- ITF-14
- MSI
- Pharmacode
- Codabar
Installation
To use ngx-barcode in your project, install it via npm:
$ npm install ngx-barcode --save
Usage
Import the NgxBarcodeModule into your desired module:
;; ; // Import ngx-barcode module;
Once the library is imported, you can use the ngx-barcode component in your Angular application:
<!-- Adding a barcode in app.component.html --> {{title}}
Development
To generate all *.js
, *.d.ts
and *.metadata.json
files:
$ npm run build
To lint all *.ts
files:
$ npm run lint
License
MIT © Bryon Williams