Name Description Size Coverage
encoder.mjs There are many "versions" of QR codes, which describes how many dots appear in the resulting image, thus limiting the amount of data that can be represented. We need to pick a version large enough to contain our message. Here we search for the minimum version based on the message length. @param {string} message Text to encode @param {string} errorCorrectionLevelChar The higher the error correction level, the less the storage capacity, but the greater probability of successful data retrieval on the resulting QR Code if it's damaged or obscured. The errorCorrectionLevelChar must be one of: - "L" (low error correction) - "M" (medium error correction) - "Q" (quartile error correction) - "H" (high error correction) @returns {number} 4754 -
moz.build 351 -
tests -