UNPKG

barcode-detection

Version:

Polyfill for the Barcode Detection API based on Dynamsoft Barcode Reader or ZXing.

54 lines (53 loc) 1.45 kB
{ "name": "barcode-detection", "type": "module", "version": "1.0.0", "description": "Polyfill for the Barcode Detection API based on Dynamsoft Barcode Reader or ZXing.", "homepage": "https://github.com/xulihang/barcode-detector-polyfill/#readme", "license": "MIT", "author": { "name": "Xu Lihang" }, "bugs": { "url": "https://github.com/xulihang/barcode-detector-polyfill/issues" }, "files": [ "dist/*.js", "dist/*.cjs", "dist/*.d.ts" ], "repository": { "type": "git", "url": "git+https://github.com/xulihang/barcode-detector-polyfill.git" }, "source": "src/barcode-detector.ts", "main": "./dist/barcode-detector.js", "exports": { "require": "./dist/barcode-detector.cjs", "default": "./dist/barcode-detector.modern.js" }, "unpkg": "./dist/barcode-detector.umd.js", "amdName": "BarcodeDetectorPolyfill", "scripts": { "build": "microbundle build --globals dynamsoft-javascript-barcode=Dynamsoft.DBR,@zxing/library=ZXingBrowser", "dev": "microbundle watch" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "devDependencies": { "microbundle": "^0.15.0" }, "keywords": [ "barcode", "barcode-detector", "ean", "datamatrix", "pdf417", "qrcode" ], "dependencies": { "@zxing/library": "0.20.0", "dynamsoft-javascript-barcode": "9.6.20" } }