Skip to content

lightgun-poc / lib/qr / qrLines

Function: qrLines() ​

qrLines(text, generate?): Promise<string[]>

Defined in: lib/qr.ts:43

Renders the QR as terminal lines (half-block chars, small: true). Split on \r?\n — qrcode-terminal is an external formatter, same CRLF rule as every other tool we parse.

Parameters ​

text ​

string

generate? ​

Generate = ...

Returns ​

Promise<string[]>

Released under the MIT License.