@sythos/js_barcode_universal 1.1.0 → 1.3.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.
- package/LICENSE +24 -18
- package/NOTICE.md +27 -22
- package/README.md +596 -460
- package/bundle/sythos-barcode.esm.js +4606 -228
- package/bundle/sythos-barcode.js +4586 -228
- package/examples/create.html +1011 -731
- package/licenses/README.md +23 -18
- package/licenses/aztec-code.license +9 -7
- package/licenses/codabar.license +16 -13
- package/licenses/code-11.license +11 -9
- package/licenses/code-128.license +8 -6
- package/licenses/code-39.license +8 -6
- package/licenses/code-93.license +13 -11
- package/licenses/data-matrix.license +11 -9
- package/licenses/ean-13.license +7 -5
- package/licenses/ean-8.license +7 -5
- package/licenses/frameqr.license +84 -0
- package/licenses/gs1-128.license +7 -5
- package/licenses/isbn.license +8 -6
- package/licenses/itf-14.license +7 -5
- package/licenses/itf.license +7 -5
- package/licenses/micro-qr.license +79 -0
- package/licenses/micropdf417.license +81 -0
- package/licenses/msi-plessey.license +12 -10
- package/licenses/pdf417.license +78 -0
- package/licenses/pharmacode.license +13 -11
- package/licenses/qr-code.license +7 -5
- package/licenses/rmqr.license +79 -0
- package/licenses/upc-a.license +9 -7
- package/licenses/upc-e.license +7 -5
- package/package.json +104 -88
- package/src/core/reed-solomon.js +326 -312
- package/src/datamatrix/decoder.js +262 -262
- package/src/datamatrix/detector.js +225 -225
- package/src/datamatrix/encoder.js +191 -191
- package/src/datamatrix/index.js +42 -42
- package/src/datamatrix/tables.js +123 -123
- package/src/frameqr/decoder.js +239 -0
- package/src/frameqr/detector.js +192 -0
- package/src/frameqr/encoder.js +156 -0
- package/src/frameqr/index.js +42 -0
- package/src/frameqr/tables.js +270 -0
- package/src/index.js +166 -3
- package/src/micropdf417/compaction.js +116 -0
- package/src/micropdf417/decoder.js +183 -0
- package/src/micropdf417/detector.js +149 -0
- package/src/micropdf417/encoder.js +209 -0
- package/src/micropdf417/error-correction.js +55 -0
- package/src/micropdf417/index.js +49 -0
- package/src/micropdf417/tables.js +184 -0
- package/src/microqr/decoder.js +245 -0
- package/src/microqr/detector.js +355 -0
- package/src/microqr/encoder.js +269 -0
- package/src/microqr/index.js +36 -0
- package/src/microqr/tables.js +316 -0
- package/src/oned/index.js +59 -59
- package/src/pdf417/compaction.js +298 -0
- package/src/pdf417/decoder.js +75 -0
- package/src/pdf417/detector.js +468 -0
- package/src/pdf417/encoder.js +91 -0
- package/src/pdf417/error-correction.js +47 -0
- package/src/pdf417/index.js +6 -0
- package/src/pdf417/tables.js +317 -0
- package/src/rmqr/decoder.js +101 -0
- package/src/rmqr/detector.js +90 -0
- package/src/rmqr/encoder.js +172 -0
- package/src/rmqr/index.js +37 -0
- package/src/rmqr/tables.js +154 -0
package/licenses/upc-e.license
CHANGED
|
@@ -20,7 +20,7 @@ SPECIFICATION
|
|
|
20
20
|
|
|
21
21
|
ISO/IEC 15420 — EAN/UPC bar code symbology specification.
|
|
22
22
|
GS1 General Specifications, GS1 AISBL — freely published; redistribution
|
|
23
|
-
terms are GS1's own [
|
|
23
|
+
terms are GS1's own [LEGAL REVIEW]
|
|
24
24
|
|
|
25
25
|
Specification TEXT is copyrighted by its publisher. The SYMBOLOGY it
|
|
26
26
|
describes is not — an encoding scheme is a system, not a work of
|
|
@@ -31,7 +31,7 @@ redistribute or excerpt any specification document.
|
|
|
31
31
|
PATENT STATUS
|
|
32
32
|
--------------------------------------------------------------------------
|
|
33
33
|
|
|
34
|
-
Shares the patent history of UPC-A; understood expired. [
|
|
34
|
+
Shares the patent history of UPC-A; understood expired. [LEGAL REVIEW]
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
TRADEMARK
|
|
@@ -48,8 +48,10 @@ IMPLEMENTATION BASIS IN THIS PROJECT
|
|
|
48
48
|
|
|
49
49
|
UPC-E is implemented here from published descriptions of the format,
|
|
50
50
|
which are systems and facts rather than works of authorship. No source
|
|
51
|
-
code
|
|
52
|
-
|
|
51
|
+
code or constant table from any other barcode implementation is copied or
|
|
52
|
+
shipped. Public technical material and independent implementations may be
|
|
53
|
+
consulted for engineering review or black-box verification; provenance is
|
|
54
|
+
recorded in NOTICE.md.
|
|
53
55
|
|
|
54
56
|
|
|
55
57
|
CONCLUSION
|
|
@@ -62,7 +64,7 @@ is distributed under the MIT License with no additional restriction.
|
|
|
62
64
|
References relied upon:
|
|
63
65
|
- ISO/IEC 15420, ISO/IEC
|
|
64
66
|
- GS1 General Specifications, GS1 AISBL — freely published;
|
|
65
|
-
redistribution terms are GS1's own [
|
|
67
|
+
redistribution terms are GS1's own [LEGAL REVIEW]
|
|
66
68
|
|
|
67
69
|
This is an engineering assessment, not legal advice. Items marked
|
|
68
70
|
[TO VERIFY] have not been independently confirmed by the author. If your
|
package/package.json
CHANGED
|
@@ -1,95 +1,111 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@sythos/js_barcode_universal",
|
|
3
|
-
"version": "1.1
|
|
4
|
-
"description": "Read and write barcodes in JavaScript
|
|
5
|
-
"author": "Sythos",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"type": "module",
|
|
8
|
-
"main": "./src/index.js",
|
|
9
|
-
"module": "./src/index.js",
|
|
10
|
-
"browser": "./bundle/sythos-barcode.js",
|
|
11
|
-
"unpkg": "./bundle/sythos-barcode.js",
|
|
12
|
-
"jsdelivr": "./bundle/sythos-barcode.js",
|
|
13
|
-
"sideEffects": false,
|
|
14
|
-
"engines": {
|
|
15
|
-
"node": ">=18"
|
|
16
|
-
},
|
|
17
|
-
"publishConfig": {
|
|
18
|
-
"access": "public"
|
|
19
|
-
},
|
|
20
|
-
"exports": {
|
|
21
|
-
".": "./src/index.js",
|
|
22
|
-
"./core": "./src/core/index.js",
|
|
23
|
-
"./image": "./src/image/index.js",
|
|
24
|
-
"./oned": "./src/oned/index.js",
|
|
1
|
+
{
|
|
2
|
+
"name": "@sythos/js_barcode_universal",
|
|
3
|
+
"version": "1.3.1",
|
|
4
|
+
"description": "Read and write barcodes in JavaScript with zero runtime dependencies. QR Code, Micro QR, rMQR, the non-certified Sythos Canvas QR profile, Aztec Code, Data Matrix ECC 200, MicroPDF417, PDF417 and one-dimensional formats.",
|
|
5
|
+
"author": "Sythos",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"main": "./src/index.js",
|
|
9
|
+
"module": "./src/index.js",
|
|
10
|
+
"browser": "./bundle/sythos-barcode.js",
|
|
11
|
+
"unpkg": "./bundle/sythos-barcode.js",
|
|
12
|
+
"jsdelivr": "./bundle/sythos-barcode.js",
|
|
13
|
+
"sideEffects": false,
|
|
14
|
+
"engines": {
|
|
15
|
+
"node": ">=18"
|
|
16
|
+
},
|
|
17
|
+
"publishConfig": {
|
|
18
|
+
"access": "public"
|
|
19
|
+
},
|
|
20
|
+
"exports": {
|
|
21
|
+
".": "./src/index.js",
|
|
22
|
+
"./core": "./src/core/index.js",
|
|
23
|
+
"./image": "./src/image/index.js",
|
|
24
|
+
"./oned": "./src/oned/index.js",
|
|
25
25
|
"./qr": "./src/qr/index.js",
|
|
26
26
|
"./datamatrix": "./src/datamatrix/index.js",
|
|
27
27
|
"./aztec": "./src/aztec/index.js",
|
|
28
|
-
"./
|
|
29
|
-
"./
|
|
30
|
-
"./
|
|
31
|
-
"./
|
|
32
|
-
"./
|
|
33
|
-
"./
|
|
34
|
-
"./
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
"bundle",
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
"
|
|
28
|
+
"./pdf417": "./src/pdf417/index.js",
|
|
29
|
+
"./micropdf417": "./src/micropdf417/index.js",
|
|
30
|
+
"./microqr": "./src/microqr/index.js",
|
|
31
|
+
"./rmqr": "./src/rmqr/index.js",
|
|
32
|
+
"./frameqr": "./src/frameqr/index.js",
|
|
33
|
+
"./render": "./src/render/index.js",
|
|
34
|
+
"./render/svg": "./src/render/svg.js",
|
|
35
|
+
"./render/png": "./src/render/png.js",
|
|
36
|
+
"./render/image-data": "./src/render/image-data.js",
|
|
37
|
+
"./bundle": "./bundle/sythos-barcode.esm.js",
|
|
38
|
+
"./bundle/iife": "./bundle/sythos-barcode.js",
|
|
39
|
+
"./package.json": "./package.json"
|
|
40
|
+
},
|
|
41
|
+
"files": [
|
|
42
|
+
"src",
|
|
43
|
+
"bundle",
|
|
44
|
+
"examples",
|
|
45
|
+
"licenses",
|
|
46
|
+
"LICENSE",
|
|
47
|
+
"NOTICE.md",
|
|
48
|
+
"README.md"
|
|
49
|
+
],
|
|
50
|
+
"keywords": [
|
|
51
|
+
"barcode",
|
|
47
52
|
"datamatrix",
|
|
48
53
|
"ecc200",
|
|
49
54
|
"aztec",
|
|
50
55
|
"aztec-code",
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
56
|
+
"pdf417",
|
|
57
|
+
"pdf-417",
|
|
58
|
+
"micropdf417",
|
|
59
|
+
"micro-pdf417",
|
|
60
|
+
"microqr",
|
|
61
|
+
"micro-qr",
|
|
62
|
+
"rmqr",
|
|
63
|
+
"rectangular-micro-qr",
|
|
64
|
+
"frameqr",
|
|
65
|
+
"canvas-qr",
|
|
66
|
+
"sdk",
|
|
67
|
+
"barcode-generator",
|
|
68
|
+
"barcode-scanner",
|
|
69
|
+
"qrcode",
|
|
70
|
+
"qr",
|
|
71
|
+
"qr-code",
|
|
72
|
+
"ean",
|
|
73
|
+
"ean13",
|
|
74
|
+
"ean8",
|
|
75
|
+
"upc",
|
|
76
|
+
"upca",
|
|
77
|
+
"upce",
|
|
78
|
+
"isbn",
|
|
79
|
+
"code128",
|
|
80
|
+
"gs1-128",
|
|
81
|
+
"code39",
|
|
82
|
+
"code93",
|
|
83
|
+
"itf",
|
|
84
|
+
"itf14",
|
|
85
|
+
"codabar",
|
|
86
|
+
"msi",
|
|
87
|
+
"code11",
|
|
88
|
+
"pharmacode",
|
|
89
|
+
"scanner",
|
|
90
|
+
"decoder",
|
|
91
|
+
"encoder",
|
|
92
|
+
"generator",
|
|
93
|
+
"reader",
|
|
94
|
+
"writer",
|
|
95
|
+
"zero-dependencies",
|
|
96
|
+
"no-dependencies",
|
|
97
|
+
"browser",
|
|
98
|
+
"nodejs",
|
|
99
|
+
"esm"
|
|
100
|
+
],
|
|
101
|
+
"repository": {
|
|
102
|
+
"type": "git",
|
|
103
|
+
"url": "git+https://github.com/Sythos/JS_Barcode_Universal.git"
|
|
104
|
+
},
|
|
105
|
+
"bugs": {
|
|
106
|
+
"url": "https://github.com/Sythos/JS_Barcode_Universal/issues"
|
|
107
|
+
},
|
|
108
|
+
"homepage": "https://github.com/Sythos/JS_Barcode_Universal#readme",
|
|
109
|
+
"dependencies": {},
|
|
110
|
+
"devDependencies": {}
|
|
111
|
+
}
|