Generate a string that's used to create the QR code. Based on gillstrom/swish-qr.
$ npm install qr-string
const qrString = require('qr-string');
qrString({
message: 'Lorem ipsum'
}).then(result => {
console.log(result);
});
const qrString = require('qr-string');
var qrMessage = {message: 'Lorem ipsum'}
var result = qrString.sync(qrMessage);
console.log(result);
const qrString = require('qr-string');
var qrMessage = {message: 'Lorem ipsum'}
var result = qrString.generateString(qrMessage);
console.log(result);