barcode-detector 0.7.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,27 @@
1
+ name: Release
2
+ on:
3
+ push:
4
+ branches:
5
+ - master
6
+ jobs:
7
+ release:
8
+ name: Release
9
+ runs-on: ubuntu-latest
10
+ steps:
11
+ - name: Checkout
12
+ uses: actions/checkout@v2
13
+ with:
14
+ fetch-depth: 0
15
+ - name: Setup Node.js
16
+ uses: actions/setup-node@v1
17
+ with:
18
+ node-version: 12
19
+ - name: Install dependencies
20
+ run: npm ci
21
+ - name: Build
22
+ run: ./src/worker/build.sh && npm run build
23
+ - name: Release
24
+ env:
25
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
26
+ NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
27
+ run: npx semantic-release
package/README.md CHANGED
@@ -5,6 +5,13 @@ sources including `<canvas>`, `<img>`, `<image>` (inside SVGs), `<video>`, `File
5
5
 
6
6
  [TODO: live demos]
7
7
 
8
+ Design goals:
9
+ * spec compliance
10
+ * support as many barcode formats as possible
11
+ * detect multiple codes in one image
12
+ * provide position/coordinate information of detected codes
13
+ * sufficient performance to process live video streams
14
+
8
15
  ## Installation
9
16
 
10
17
  ```sh
@@ -54,7 +61,7 @@ For in-depth documentation checkout the [corresponding MDN page](https://develop
54
61
  - :x: `upc_a`
55
62
  - :x: `upc_e`
56
63
 
57
- `src/BarcodeDetectorZXing.ts` (not exposed at the moment):
64
+ `src/BarcodeDetectorZXing.ts` (not exposed at the moment. See [#1](https://github.com/gruhn/barcode-detector-polyfill/issues/1)):
58
65
  - :heavy_check_mark: `aztec`
59
66
  - :heavy_check_mark: `code_128`
60
67
  - :heavy_check_mark: `code_39`