Function GenerateQRCode

  • Since

    1.0.5

    Version

    2022-06-29

    Parameters

    • data: string
    • Optional version: number
    • Optional errorCorrectionLevel: "low" | "medium" | "quartile" | "high" | "L" | "M" | "Q" | "H"
    • Optional toSJISFunc: ((codePoint: string) => number)
        • (codePoint: string): number
        • Helper function used internally to convert a kanji to its Shift JIS value. Provide this function if you need support for Kanji mode.

          Parameters

          • codePoint: string

          Returns number

    Returns Promise<string>

Generated using TypeDoc