dynamsoft-barcode-reader-bundle 11.0.3000 → 11.0.6000
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.
- package/LEGAL.txt +1086 -30
- package/README.html +15 -20
- package/README.md +15 -21
- package/dist/dbr.bundle.d.ts +676 -485
- package/dist/dbr.bundle.esm.js +2 -2
- package/dist/dbr.bundle.js +2 -2
- package/dist/dbr.bundle.mjs +2 -2
- package/dist/dbr.bundle.worker.js +2 -2
- package/dist/{dynamsoft-capture-vision-bundle-ml-simd.js → dynamsoft-barcode-reader-bundle-ml-simd.js} +1 -1
- package/dist/{dynamsoft-capture-vision-bundle-ml-simd.wasm → dynamsoft-barcode-reader-bundle-ml-simd.wasm} +0 -0
- package/dist/{dynamsoft-capture-vision-bundle-ml.js → dynamsoft-barcode-reader-bundle-ml.js} +1 -1
- package/dist/{dynamsoft-capture-vision-bundle-ml.wasm → dynamsoft-barcode-reader-bundle-ml.wasm} +0 -0
- package/dist/{dynamsoft-capture-vision-bundle.js → dynamsoft-barcode-reader-bundle.js} +1 -1
- package/dist/{dynamsoft-capture-vision-bundle.wasm → dynamsoft-barcode-reader-bundle.wasm} +0 -0
- package/package.json +10 -10
- package/samples.url +1 -1
package/README.html
CHANGED
|
@@ -249,12 +249,7 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
249
249
|
Please refer to <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/faq/system-requirement.html">system requirements</a> for more details.</p>
|
|
250
250
|
</blockquote>
|
|
251
251
|
<h2 id="license">License</h2>
|
|
252
|
-
|
|
253
|
-
<!-- When getting started with Barcode Scanner, we recommend getting your own 30-day trial license through the [customer portal](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=npm&package=js). The trial license can be renewed via the same customer portal twice, each time for another 15 days, giving you a total of 60 days to develop your own application using the solution. Please contact the [Dynamsoft Support Team](https://www.dynamsoft.com/company/contact/) if you need more time for a full evaluation.
|
|
254
|
-
|
|
255
|
-
> [!NOTE]
|
|
256
|
-
> The **Barcode Scanner** license contains a license for the **Dynamsoft Barcode Reader**, and the **Dynamsoft Camera Enhancer** since the Barcode Scanner builds on top of those two products.
|
|
257
|
-
-->
|
|
252
|
+
<!-- When getting started with Barcode Scanner, we recommend getting your own 30-day trial license. -->
|
|
258
253
|
<p>When getting started with Barcode Scanner, we recommend <a href="https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=npm&package=js">getting your own 30-day trial license</a></p>
|
|
259
254
|
<!-- {% include trialLicense.html %} -->
|
|
260
255
|
<blockquote>
|
|
@@ -267,7 +262,7 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
267
262
|
<pre><code class="hljs html language-html"><span class="hljs-meta"><!DOCTYPE <span class="hljs-meta-keyword">html</span>></span>
|
|
268
263
|
<span class="hljs-tag"><<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">"en"</span>></span>
|
|
269
264
|
<span class="hljs-tag"><<span class="hljs-name">body</span>></span>
|
|
270
|
-
<span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.
|
|
265
|
+
<span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"</span>></span><span class="hljs-tag"></<span class="hljs-name">script</span>></span>
|
|
271
266
|
<span class="hljs-tag"><<span class="hljs-name">script</span>></span><span class="javascript">
|
|
272
267
|
<span class="hljs-comment">// Initialize the Dynamsoft Barcode Scanner</span>
|
|
273
268
|
<span class="hljs-keyword">const</span> barcodeScanner = <span class="hljs-keyword">new</span> Dynamsoft.BarcodeScanner({
|
|
@@ -287,7 +282,7 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
287
282
|
<span class="hljs-tag"></<span class="hljs-name">html</span>></span>
|
|
288
283
|
</code></pre>
|
|
289
284
|
<p align="center" style="text-align:center; white-space: normal; ">
|
|
290
|
-
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.0.
|
|
285
|
+
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.0.60/barcode-scanner-api-samples/scan-single-barcode/hello-world.html" title="Code in Github" style="text-decoration:none;">
|
|
291
286
|
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/github.svg" alt="Code in Github" width="20" height="20" style="width:20px;height:20px;">
|
|
292
287
|
</a>
|
|
293
288
|
|
|
@@ -295,17 +290,17 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
295
290
|
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
|
|
296
291
|
</a>
|
|
297
292
|
|
|
298
|
-
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=11.0.
|
|
293
|
+
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=11.0.60&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
|
|
299
294
|
<img src="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.0.0/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
|
|
300
295
|
</a>
|
|
301
296
|
</p>
|
|
302
297
|
<h3 id="step-1-setting-up-the-html-and-including-the-barcode-scanner">Step 1: Setting up the HTML and Including the Barcode Scanner</h3>
|
|
303
|
-
<p>As outlined earlier, this guide will help you create a simple Hello World barcode scanning application using vanilla JavaScript. The full sample code is also available in the <a href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.0.
|
|
298
|
+
<p>As outlined earlier, this guide will help you create a simple Hello World barcode scanning application using vanilla JavaScript. The full sample code is also available in the <a href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.0.60">GitHub repository</a>.</p>
|
|
304
299
|
<p>The first step before writing the code is to include the SDK in your application. You can simply include the SDK by using the precompiled script.</p>
|
|
305
300
|
<pre><code class="hljs html language-html"><span class="hljs-meta"><!DOCTYPE <span class="hljs-meta-keyword">html</span>></span>
|
|
306
301
|
<span class="hljs-tag"><<span class="hljs-name">html</span> <span class="hljs-attr">lang</span>=<span class="hljs-string">"en"</span>></span>
|
|
307
302
|
<span class="hljs-tag"><<span class="hljs-name">body</span>></span>
|
|
308
|
-
<span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.
|
|
303
|
+
<span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"</span>></span><span class="hljs-tag"></<span class="hljs-name">script</span>></span>
|
|
309
304
|
<span class="hljs-tag"></<span class="hljs-name">body</span>></span>
|
|
310
305
|
<span class="hljs-tag"></<span class="hljs-name">html</span>></span>
|
|
311
306
|
</code></pre>
|
|
@@ -317,17 +312,17 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
317
312
|
<ul>
|
|
318
313
|
<li>jsDelivr</li>
|
|
319
314
|
</ul>
|
|
320
|
-
<pre><code class="hljs html language-html"> <span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.
|
|
315
|
+
<pre><code class="hljs html language-html"> <span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"</span>></span><span class="hljs-tag"></<span class="hljs-name">script</span>></span>
|
|
321
316
|
</code></pre>
|
|
322
317
|
<ul>
|
|
323
318
|
<li>UNPKG</li>
|
|
324
319
|
</ul>
|
|
325
|
-
<pre><code class="hljs html language-html"> <span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://unpkg.com/dynamsoft-barcode-reader-bundle@11.0.
|
|
320
|
+
<pre><code class="hljs html language-html"> <span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"https://unpkg.com/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"</span>></span><span class="hljs-tag"></<span class="hljs-name">script</span>></span>
|
|
326
321
|
</code></pre>
|
|
327
322
|
<p>When using a framework such as <strong>React</strong>, <strong>Vue</strong> or <strong>Angular</strong>, we recommend adding the package as a dependency using a package manager such as <strong>npm</strong> or <strong>yarn</strong>:</p>
|
|
328
|
-
<pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.0.
|
|
323
|
+
<pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.0.6000
|
|
329
324
|
<span class="hljs-comment"># or</span>
|
|
330
|
-
yarn add dynamsoft-barcode-reader-bundle@11.0.
|
|
325
|
+
yarn add dynamsoft-barcode-reader-bundle@11.0.6000
|
|
331
326
|
</code></pre>
|
|
332
327
|
<p>As for package managers like <strong>npm</strong> or <strong>yarn</strong>, you likely need to specify the location of the engine files as a link to a CDN. Please see the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html#barcodescannerconfig">BarcodeScannerConfig API</a> for a code snippet on how to set the <code>engineResourcePaths</code>.</p>
|
|
333
328
|
<div class="multi-panel-end"></div>
|
|
@@ -336,11 +331,11 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
336
331
|
<p>Alternatively, you may choose to download the SDK and host the files on your own server or preferred CDN. This approach provides better control over versioning and availability.</p>
|
|
337
332
|
<ul>
|
|
338
333
|
<li><p>From the website</p>
|
|
339
|
-
<p><a href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.0.
|
|
334
|
+
<p><a href="https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.0.60&utm_source=npm&product=dbr&package=js">Download Dynamsoft Barcode Reader JavaScript Package</a></p>
|
|
340
335
|
<p>The resources are located in the <code>./dist/</code> directory.</p></li>
|
|
341
336
|
<li><p>From npm</p></li>
|
|
342
337
|
</ul>
|
|
343
|
-
<pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.0.
|
|
338
|
+
<pre><code class="hljs sh language-sh"> npm i dynamsoft-barcode-reader-bundle@11.0.6000
|
|
344
339
|
</code></pre>
|
|
345
340
|
<p>The resources are located at the path <code>node_modules/<pkg></code>, without <code>@<version></code>. You can copy it elsewhere and add <code>@<version></code> tag.</p>
|
|
346
341
|
<blockquote>
|
|
@@ -348,7 +343,7 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
348
343
|
Since "node<em>modules" is reserved for Node.js dependencies, and in our case the package is used only as static resources, we recommend either renaming the "node</em>modules" folder or moving the "dynamsoft-" packages to a dedicated folder for static resources in your project to facilitate self-hosting.</p>
|
|
349
344
|
</blockquote>
|
|
350
345
|
<p>You can typically include SDK like this:</p>
|
|
351
|
-
<pre><code class="hljs html language-html"><span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"path/to/dynamsoft-barcode-reader-bundle@11.0.
|
|
346
|
+
<pre><code class="hljs html language-html"><span class="hljs-tag"><<span class="hljs-name">script</span> <span class="hljs-attr">src</span>=<span class="hljs-string">"path/to/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"</span>></span><span class="hljs-tag"></<span class="hljs-name">script</span>></span>
|
|
352
347
|
</code></pre>
|
|
353
348
|
<div class="multi-panel-end"></div>
|
|
354
349
|
<div class="multi-panel-switching-end"></div>
|
|
@@ -390,8 +385,8 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
390
385
|
<p>Now that you've implemented the basic functionality, here are some recommended next steps to further explore the capabilities of the Barcode Scanner</p>
|
|
391
386
|
<ol>
|
|
392
387
|
<li>Learn how to <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner-customization.html">Customize the Barcode Scanner</a></li>
|
|
393
|
-
<li>Check out the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.0.
|
|
394
|
-
<li>Learn about the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.0.
|
|
388
|
+
<li>Check out the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.0.6000">Official Samples and Demo</a></li>
|
|
389
|
+
<li>Learn about the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.0.6000">APIs of BarcodeScanner</a></li>
|
|
395
390
|
</ol>
|
|
396
391
|
</div>
|
|
397
392
|
</body>
|
package/README.md
CHANGED
|
@@ -35,13 +35,7 @@ new Dynamsoft.BarcodeScanner().launch().then(result=>alert(result.barcodeResults
|
|
|
35
35
|
|
|
36
36
|
## License
|
|
37
37
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
<!-- When getting started with Barcode Scanner, we recommend getting your own 30-day trial license through the [customer portal](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=npm&package=js). The trial license can be renewed via the same customer portal twice, each time for another 15 days, giving you a total of 60 days to develop your own application using the solution. Please contact the [Dynamsoft Support Team](https://www.dynamsoft.com/company/contact/) if you need more time for a full evaluation.
|
|
41
|
-
|
|
42
|
-
> [!NOTE]
|
|
43
|
-
> The **Barcode Scanner** license contains a license for the **Dynamsoft Barcode Reader**, and the **Dynamsoft Camera Enhancer** since the Barcode Scanner builds on top of those two products.
|
|
44
|
-
-->
|
|
38
|
+
<!-- When getting started with Barcode Scanner, we recommend getting your own 30-day trial license. -->
|
|
45
39
|
|
|
46
40
|
When getting started with Barcode Scanner, we recommend [getting your own 30-day trial license](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=npm&package=js)
|
|
47
41
|
|
|
@@ -60,7 +54,7 @@ If you are fully satisfied with the solution and would like to move forward with
|
|
|
60
54
|
<!DOCTYPE html>
|
|
61
55
|
<html lang="en">
|
|
62
56
|
<body>
|
|
63
|
-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.
|
|
57
|
+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"></script>
|
|
64
58
|
<script>
|
|
65
59
|
// Initialize the Dynamsoft Barcode Scanner
|
|
66
60
|
const barcodeScanner = new Dynamsoft.BarcodeScanner({
|
|
@@ -81,7 +75,7 @@ If you are fully satisfied with the solution and would like to move forward with
|
|
|
81
75
|
```
|
|
82
76
|
|
|
83
77
|
<p align="center" style="text-align:center; white-space: normal; ">
|
|
84
|
-
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.0.
|
|
78
|
+
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v11.0.60/barcode-scanner-api-samples/scan-single-barcode/hello-world.html" title="Code in Github" style="text-decoration:none;">
|
|
85
79
|
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/github.svg" alt="Code in Github" width="20" height="20" style="width:20px;height:20px;">
|
|
86
80
|
</a>
|
|
87
81
|
|
|
@@ -89,14 +83,14 @@ If you are fully satisfied with the solution and would like to move forward with
|
|
|
89
83
|
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
|
|
90
84
|
</a>
|
|
91
85
|
|
|
92
|
-
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=11.0.
|
|
86
|
+
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=11.0.60&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
|
|
93
87
|
<img src="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@6.0.0/svgs/solid/circle-play.svg" alt="Run in Dynamsoft" width="20" height="20" style="width:20px;height:20px;">
|
|
94
88
|
</a>
|
|
95
89
|
</p>
|
|
96
90
|
|
|
97
91
|
### Step 1: Setting up the HTML and Including the Barcode Scanner
|
|
98
92
|
|
|
99
|
-
As outlined earlier, this guide will help you create a simple Hello World barcode scanning application using vanilla JavaScript. The full sample code is also available in the [GitHub repository](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.0.
|
|
93
|
+
As outlined earlier, this guide will help you create a simple Hello World barcode scanning application using vanilla JavaScript. The full sample code is also available in the [GitHub repository](https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v11.0.60).
|
|
100
94
|
|
|
101
95
|
The first step before writing the code is to include the SDK in your application. You can simply include the SDK by using the precompiled script.
|
|
102
96
|
|
|
@@ -104,7 +98,7 @@ The first step before writing the code is to include the SDK in your application
|
|
|
104
98
|
<!DOCTYPE html>
|
|
105
99
|
<html lang="en">
|
|
106
100
|
<body>
|
|
107
|
-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.
|
|
101
|
+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"></script>
|
|
108
102
|
</body>
|
|
109
103
|
</html>
|
|
110
104
|
```
|
|
@@ -121,21 +115,21 @@ The simplest way to include the SDK is to use either the [**jsDelivr**](https://
|
|
|
121
115
|
- jsDelivr
|
|
122
116
|
|
|
123
117
|
```html
|
|
124
|
-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.
|
|
118
|
+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"></script>
|
|
125
119
|
```
|
|
126
120
|
|
|
127
121
|
- UNPKG
|
|
128
122
|
|
|
129
123
|
```html
|
|
130
|
-
<script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@11.0.
|
|
124
|
+
<script src="https://unpkg.com/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"></script>
|
|
131
125
|
```
|
|
132
126
|
|
|
133
127
|
When using a framework such as **React**, **Vue** or **Angular**, we recommend adding the package as a dependency using a package manager such as **npm** or **yarn**:
|
|
134
128
|
|
|
135
129
|
```sh
|
|
136
|
-
npm i dynamsoft-barcode-reader-bundle@11.0.
|
|
130
|
+
npm i dynamsoft-barcode-reader-bundle@11.0.6000
|
|
137
131
|
# or
|
|
138
|
-
yarn add dynamsoft-barcode-reader-bundle@11.0.
|
|
132
|
+
yarn add dynamsoft-barcode-reader-bundle@11.0.6000
|
|
139
133
|
```
|
|
140
134
|
|
|
141
135
|
As for package managers like **npm** or **yarn**, you likely need to specify the location of the engine files as a link to a CDN. Please see the [BarcodeScannerConfig API](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html#barcodescannerconfig) for a code snippet on how to set the `engineResourcePaths`.
|
|
@@ -148,14 +142,14 @@ Alternatively, you may choose to download the SDK and host the files on your own
|
|
|
148
142
|
|
|
149
143
|
- From the website
|
|
150
144
|
|
|
151
|
-
[Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.0.
|
|
145
|
+
[Download Dynamsoft Barcode Reader JavaScript Package](https://www.dynamsoft.com/barcode-reader/downloads/?ver=11.0.60&utm_source=npm&product=dbr&package=js)
|
|
152
146
|
|
|
153
147
|
The resources are located in the `./dist/` directory.
|
|
154
148
|
|
|
155
149
|
- From npm
|
|
156
150
|
|
|
157
151
|
```sh
|
|
158
|
-
npm i dynamsoft-barcode-reader-bundle@11.0.
|
|
152
|
+
npm i dynamsoft-barcode-reader-bundle@11.0.6000
|
|
159
153
|
```
|
|
160
154
|
|
|
161
155
|
The resources are located at the path `node_modules/<pkg>`, without `@<version>`. You can copy it elsewhere and add `@<version>` tag.
|
|
@@ -166,7 +160,7 @@ Alternatively, you may choose to download the SDK and host the files on your own
|
|
|
166
160
|
You can typically include SDK like this:
|
|
167
161
|
|
|
168
162
|
```html
|
|
169
|
-
<script src="path/to/dynamsoft-barcode-reader-bundle@11.0.
|
|
163
|
+
<script src="path/to/dynamsoft-barcode-reader-bundle@11.0.6000/dist/dbr.bundle.js"></script>
|
|
170
164
|
```
|
|
171
165
|
<div class="multi-panel-end"></div>
|
|
172
166
|
|
|
@@ -220,5 +214,5 @@ Now that the Barcode Scanner has been initialized and configured, it is ready to
|
|
|
220
214
|
Now that you've implemented the basic functionality, here are some recommended next steps to further explore the capabilities of the Barcode Scanner
|
|
221
215
|
|
|
222
216
|
1. Learn how to [Customize the Barcode Scanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner-customization.html)
|
|
223
|
-
2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.0.
|
|
224
|
-
3. Learn about the [APIs of BarcodeScanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.0.
|
|
217
|
+
2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=11.0.6000)
|
|
218
|
+
3. Learn about the [APIs of BarcodeScanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/barcode-scanner.html?ver=11.0.6000)
|