Creates a new QRCodeGenerator instance.
Optional QR code configuration parameters
Splits JWS into balanced chunks for multi-QR encoding.
JWS string to chunk
Array of chunked QR code strings in SMART Health Cards format
Converts numeric data back to JWS string.
Numeric string to decode
Decoded JWS string
QRCodeError When numeric data is malformed or out of range
Reconstructs JWS from QR code data.
Array of QR code numeric strings
Promise resolving to reconstructed JWS string
QRCodeError When QR code data is missing or malformed
Converts JWS to SMART Health Cards numeric format.
JWS string to convert
Numeric string representation
QRCodeError When JWS contains non-base64url characters
Generates QR code data URLs from a JWS string.
JWS string to encode
Promise resolving to array of QR code data URLs
QRCodeError When JWS contains invalid characters or chunking constraints are violated
Generates and scans QR codes for SMART Health Cards with proper numeric encoding.