barcode-parser

v2.3.0
This project started out as a Typescript port of the Quagga project - https://serratus.github.io/quaggaJS. - but that direction has diverged greatly. This library does not read barcodes but rather parses the value returned by a dedicated barcode scanner.

build

tsc -d

prepublish

npm run build

test

jest

test:watch

jest --watch

coverage

jest --coverage

prettier

prettier --config .prettierrc --write "{src,__{tests,mocks}__}/**/*.ts"

lint

tslint -c tslint.json 'src/**/*.ts'

lint:fix

tslint -c tslint.json --fix 'src/**/*.ts'

ci

yarn lint && yarn test

ci:afterSuccess

yarn coverage && yarn release

release

semantic-release
npm i barcode-parser

Metadata

Downloads

Maintainers