Generate a string that's used to create the QR code. Based on gillstrom/swish-qr.
Install
$ npm install qr-string
Example 1 : Return a Promise resolving into a BASE64 string format.
const qrString = ; ;
Example 2 : Return BASE64 string using sync method.
const qrString = ; var qrMessage = message: 'Lorem ipsum'var result = qrString;console;
Example 3 : Return a formatted string that used to create QR code.
const qrString = ; var qrMessage = message: 'Lorem ipsum'var result = qrString;console;