  

qrcode dependence and be more powerful than qrcode.
npm install qrcode-with-logos --save
`
Documentation
Visit https://zxpsuper.github.io/qrcode-with-logos!
Example
`html
`
`js
import QrCodeWithLogo from 'qrcode-with-logos'
let qrcode = new QrCodeWithLogo({
// canvas: document.getElementById("canvas"),
content: 'https://github.com/zxpsuper',
width: 380,
// download: true,
image: document.getElementById('image'),
logo: {
src: 'https://avatars1.githubusercontent.com/u/28730619?s=460&v=4'
}
})
qrcode.downloadImage('qrcode.png')
``