# Step 1: Create barcode (WASM) qr = BarcodePaoWasm::QRCode.new qr.set_output_format("png") # Step 2: Draw! result = qr.draw(code, 300)
Preview
PNGEnter data and it will render automatically
WASM barcode library — Sinatra REST API
Ruby + Sinatra + WASM# Step 1: Create barcode (WASM) qr = BarcodePaoWasm::QRCode.new qr.set_output_format("png") # Step 2: Draw! result = qr.draw(code, 300)