dynamsoft-barcode-reader-bundle 10.5.3000-beta-202504230022 → 10.5.3000
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/README.html +15 -5
- package/README.md +14 -5
- package/dist/dbr.bundle.js +1 -1
- package/dist/dbr.bundle.mjs +1 -1
- package/dist/dbr.no-content-bundle.esm.js +1 -1
- package/package.json +2 -2
- package/samples.url +1 -1
package/README.html
CHANGED
|
@@ -220,6 +220,17 @@
|
|
|
220
220
|
<body>
|
|
221
221
|
<div id='content'>
|
|
222
222
|
<h1 id="barcode-scanner-javascript-edition---user-guide">Barcode Scanner JavaScript Edition - User Guide</h1>
|
|
223
|
+
<ul>
|
|
224
|
+
<li><a href="#barcode-scanner-javascript-edition---user-guide">Barcode Scanner JavaScript Edition - User Guide</a></li>
|
|
225
|
+
<li><a href="#license">License</a><ul>
|
|
226
|
+
<li><a href="#trial-license">Trial License</a></li>
|
|
227
|
+
<li><a href="#full-license">Full License</a></li></ul></li>
|
|
228
|
+
<li><a href="#quick-start-hello-world-example">Quick Start: Hello World Example</a><ul>
|
|
229
|
+
<li><a href="#step-1-setting-up-the-html-and-including-the-barcode-scanner">Step 1: Setting up the HTML and Including the Barcode Scanner</a></li>
|
|
230
|
+
<li><a href="#step-2-initializing-the-barcode-scanner">Step 2: Initializing the Barcode Scanner</a></li>
|
|
231
|
+
<li><a href="#step-3-launching-the-barcode-scanner">Step 3: Launching the Barcode Scanner</a></li></ul></li>
|
|
232
|
+
<li><a href="#next-steps">Next Steps</a></li>
|
|
233
|
+
</ul>
|
|
223
234
|
<p>This user guide provides a step-by-step walkthrough of a "Hello World" web application using the <code>BarcodeScanner</code> JavaScript Edition.</p>
|
|
224
235
|
<p>The <code>BarcodeScanner</code> class offers the following features:</p>
|
|
225
236
|
<ul>
|
|
@@ -256,7 +267,7 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
256
267
|
> 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
268
|
-->
|
|
258
269
|
<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
|
-
|
|
270
|
+
<!-- {% include trialLicense.html %} -->
|
|
260
271
|
<blockquote>
|
|
261
272
|
<p>[!IMPORTANT]<br />
|
|
262
273
|
The trial license can be renewed via the <a href="https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=npm&package=js">customer portal</a> 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 <a href="https://www.dynamsoft.com/company/contact/">Dynamsoft Support Team</a> if you need more time for a full evaluation.</p>
|
|
@@ -291,9 +302,8 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
291
302
|
<span class="hljs-tag"></<span class="hljs-name">body</span>></span>
|
|
292
303
|
<span class="hljs-tag"></<span class="hljs-name">html</span>></span>
|
|
293
304
|
</code></pre>
|
|
294
|
-
<!-- TODO -->
|
|
295
305
|
<p align="center" style="text-align:center; white-space: normal; ">
|
|
296
|
-
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v10.5.30/hello-world/hello-world.html" title="Code in Github" style="text-decoration:none;">
|
|
306
|
+
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v10.5.30/scan-single-barcode/hello-world/hello-world.html" title="Code in Github" style="text-decoration:none;">
|
|
297
307
|
<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;">
|
|
298
308
|
</a>
|
|
299
309
|
|
|
@@ -301,7 +311,7 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
301
311
|
<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;" >
|
|
302
312
|
</a>
|
|
303
313
|
|
|
304
|
-
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/
|
|
314
|
+
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=10.5.30&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
|
|
305
315
|
<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;">
|
|
306
316
|
</a>
|
|
307
317
|
</p>
|
|
@@ -399,7 +409,7 @@ Thanks to its simplified APIs and built-in UI for video streaming, you can imple
|
|
|
399
409
|
In the Hello World sample, after a successfully decoding process, the scanner closes and the user is met with an empty page. In order to open the scanner again, the user must refresh the page. You may choose to implement a more user-friendly behavior in a production environment, such as presenting the user with an option to re-open the Barcode Scanner upon closing it.</p>
|
|
400
410
|
</blockquote>
|
|
401
411
|
<h2 id="next-steps">Next Steps</h2>
|
|
402
|
-
<p>Now that you
|
|
412
|
+
<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>
|
|
403
413
|
<ol>
|
|
404
414
|
<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>
|
|
405
415
|
<li>Check out the <a href="https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=10.5.30">Official Samples and Demo</a></li>
|
package/README.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Barcode Scanner JavaScript Edition - User Guide
|
|
2
2
|
|
|
3
|
+
- [Barcode Scanner JavaScript Edition - User Guide](#barcode-scanner-javascript-edition---user-guide)
|
|
4
|
+
- [License](#license)
|
|
5
|
+
- [Trial License](#trial-license)
|
|
6
|
+
- [Full License](#full-license)
|
|
7
|
+
- [Quick Start: Hello World Example](#quick-start-hello-world-example)
|
|
8
|
+
- [Step 1: Setting up the HTML and Including the Barcode Scanner](#step-1-setting-up-the-html-and-including-the-barcode-scanner)
|
|
9
|
+
- [Step 2: Initializing the Barcode Scanner](#step-2-initializing-the-barcode-scanner)
|
|
10
|
+
- [Step 3: Launching the Barcode Scanner](#step-3-launching-the-barcode-scanner)
|
|
11
|
+
- [Next Steps](#next-steps)
|
|
12
|
+
|
|
3
13
|
This user guide provides a step-by-step walkthrough of a "Hello World" web application using the `BarcodeScanner` JavaScript Edition.
|
|
4
14
|
|
|
5
15
|
The `BarcodeScanner` class offers the following features:
|
|
@@ -45,7 +55,7 @@ new Dynamsoft.BarcodeScanner().launch().then(result=>alert(result.barcodeResults
|
|
|
45
55
|
|
|
46
56
|
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
57
|
|
|
48
|
-
{% include trialLicense.html %}
|
|
58
|
+
<!-- {% include trialLicense.html %} -->
|
|
49
59
|
|
|
50
60
|
> [!IMPORTANT]
|
|
51
61
|
> The trial license can be renewed via the [customer portal](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=npm&package=js) 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.
|
|
@@ -85,9 +95,8 @@ If you are fully satisfied with the solution and would like to move forward with
|
|
|
85
95
|
</html>
|
|
86
96
|
```
|
|
87
97
|
|
|
88
|
-
<!-- TODO -->
|
|
89
98
|
<p align="center" style="text-align:center; white-space: normal; ">
|
|
90
|
-
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v10.5.30/hello-world/hello-world.html" title="Code in Github" style="text-decoration:none;">
|
|
99
|
+
<a target="_blank" href="https://github.com/Dynamsoft/barcode-reader-javascript-samples/blob/v10.5.30/scan-single-barcode/hello-world/hello-world.html" title="Code in Github" style="text-decoration:none;">
|
|
91
100
|
<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;">
|
|
92
101
|
</a>
|
|
93
102
|
|
|
@@ -95,7 +104,7 @@ If you are fully satisfied with the solution and would like to move forward with
|
|
|
95
104
|
<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;" >
|
|
96
105
|
</a>
|
|
97
106
|
|
|
98
|
-
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/
|
|
107
|
+
<a target="_blank" href="https://demo.dynamsoft.com/Samples/DBR/JS/barcode-scanner-api-samples/scan-single-barcode/hello-world.html?ver=10.5.30&utm_source=npm" title="Run in Dynamsoft" style="text-decoration:none;">
|
|
99
108
|
<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;">
|
|
100
109
|
</a>
|
|
101
110
|
</p>
|
|
@@ -229,7 +238,7 @@ Now that the Barcode Scanner has been initialized and configured, it is ready to
|
|
|
229
238
|
|
|
230
239
|
## Next Steps
|
|
231
240
|
|
|
232
|
-
Now that you
|
|
241
|
+
Now that you've implemented the basic functionality, here are some recommended next steps to further explore the capabilities of the Barcode Scanner
|
|
233
242
|
|
|
234
243
|
1. Learn how to [Customize the Barcode Scanner](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner-customization.html)
|
|
235
244
|
2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=10.5.30)
|
package/dist/dbr.bundle.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @website http://www.dynamsoft.com
|
|
5
5
|
* @copyright Copyright 2025, Dynamsoft Corporation
|
|
6
6
|
* @author Dynamsoft
|
|
7
|
-
* @version 10.5.3000
|
|
7
|
+
* @version 10.5.3000
|
|
8
8
|
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
|
|
9
9
|
* More info on dbr JS: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/
|
|
10
10
|
*/
|
package/dist/dbr.bundle.mjs
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @website http://www.dynamsoft.com
|
|
5
5
|
* @copyright Copyright 2025, Dynamsoft Corporation
|
|
6
6
|
* @author Dynamsoft
|
|
7
|
-
* @version 10.5.3000
|
|
7
|
+
* @version 10.5.3000
|
|
8
8
|
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
|
|
9
9
|
* More info on dbr JS: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/
|
|
10
10
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* @website http://www.dynamsoft.com
|
|
5
5
|
* @copyright Copyright 2025, Dynamsoft Corporation
|
|
6
6
|
* @author Dynamsoft
|
|
7
|
-
* @version 10.5.3000
|
|
7
|
+
* @version 10.5.3000
|
|
8
8
|
* @fileoverview Dynamsoft JavaScript Library for Barcode Reader
|
|
9
9
|
* More info on dbr JS: https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/
|
|
10
10
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dynamsoft-barcode-reader-bundle",
|
|
3
|
-
"version": "10.5.3000
|
|
3
|
+
"version": "10.5.3000",
|
|
4
4
|
"description": "Dynamsoft Barcode Reader JS is a recognition SDK which enables you to embed barcode reading functionality in your web, desktop, and mobile applications. With a few lines of JavaScript code, you can develop a robust application to scan a linear barcode, QR Code, DaraMatrix, PDF417, and Aztec Code.",
|
|
5
5
|
"main": "dist/dbr.bundle.js",
|
|
6
6
|
"module": "dist/dbr.no-content-bundle.esm.js",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
},
|
|
66
66
|
"publishConfig": {
|
|
67
67
|
"registry": "https://registry.npmjs.org/",
|
|
68
|
-
"tag": "
|
|
68
|
+
"tag": "latest"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@dynamsoft/rd2-scripts": "^0.1.38",
|
package/samples.url
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
[InternetShortcut]
|
|
2
|
-
URL=https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v10.
|
|
2
|
+
URL=https://github.com/Dynamsoft/barcode-reader-javascript-samples/tree/v10.5.30
|