 
    
      The Ultimate QR Editor
    
   
    Convert data strings to binary
optimalStrategy(str,options)Finds the shortest possible encoding using smart mode-switching.
Opts
{ version, ecl, codewords, cost, steps, strategy, budget }allStrategies(str,version,ecl)Enumerates all strategies that fit within an exact version and ecl.
[steps]constructCodewords(str,steps,version,ecl)Concatenates the binary data based on steps, appends Reed-Solomon error correction codes, and interleaves them into a QR-ready Uint8Array.
packStrategy(steps)Packs an array of steps ["byte","byte","byte","numeric","numeric"] into a compressed strategy.
unpackStrategy(packed,length)Unpacks a compressed strategy into an array of steps ["byte","byte","byte","numeric","numeric"].