UNPKG
@nuintun/qrcode
Version:
latest (5.0.2)
5.0.2
5.0.1
5.0.0
4.1.18
4.1.17
4.1.16
4.1.15
4.1.14
4.1.13
4.1.12
4.1.11
4.1.10
4.1.9
4.1.8
4.1.7
4.1.6
4.1.5
4.1.4
4.1.3
4.1.2
4.1.1
4.1.0
4.0.1
4.0.0
3.4.0
3.3.5
3.3.4
3.3.3
3.3.2
3.3.1
3.3.0
3.2.0
3.1.3
3.1.2
3.1.1
3.1.0
3.0.1
3.0.0
2.1.1
2.1.0
2.0.1
2.0.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
0.36.3
0.36.2
0.36.1
0.36.0
0.35.0
0.34.0
0.33.0
0.32.0
0.31.0
0.30.3
0.30.2
0.30.1
0.30.0
0.21.0
0.20.0
0.19.0
0.18.3
0.18.2
0.18.1
0.18.0
0.17.0
0.16.1
0.16.0
0.15.1
0.15.0
0.14.0
0.13.3
0.13.2
0.13.1
0.13.0
0.12.0
0.11.0
0.10.2
0.10.1
0.10.0
0.9.0
0.8.0
0.7.0
0.6.2
0.6.1
0.6.0
0.5.3
0.5.2
0.5.1
0.5.0
0.4.0
0.3.0
0.2.0
0.1.0
A pure JavaScript QRCode encode and decode library.
github.com/nuintun/qrcode
nuintun/qrcode
@nuintun/qrcode
/
cjs
/
detector
/
utils
/
constants.d.cts
9 lines
(8 loc)
•
278 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
/** *
@module
constants
*/
export
declare
const
DIFF_PATTERN_RATIO
=
0.625
;
export
declare
const
DIFF_PATTERN_ALLOWANCE
=
0.5
;
export
declare
const
DIFF_MODULE_SIZE_RATIO
=
0.5
;
export
declare
const
MIN_TOP_LEFT_ANGLE
:
number
;
export
declare
const
MAX_TOP_LEFT_ANGLE
:
number
;