Skip to content

Instantly share code, notes, and snippets.

@j-te
j-te / index.js
Created September 7, 2021 19:48 — forked from artemlatark/index.js
QR with rounded corners and logo
import QRCode from 'qrcode';
import { qrRender } from './qrRender';
function QR() {
const qrData = '12312312312';
const options = {
color: 'colored',
logo: 'fillstuff',
};
const qrSvg = qrRender(QRCode.create(qrData, { errorCorrectionLevel: 'Q' }), options);