Package Exports
- qrcode-with-logos
- qrcode-with-logos/lib/qrcode-with-logos.common.js
- qrcode-with-logos/lib/qrcode-with-logos.esm.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (qrcode-with-logos) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
qrcode-with-logos



Introduction
Qrcode-with-logos is a library for generating QR codes with a logo and styling in your object.
It depend on qrcode dependence and be more powerful than qrcode.
It can create a canvas or a image for the QRcode and even you can use the method to download the file that you want.
Usage
- Install the module
npm install qrcode-with-logos --saveDocumentation
Visit https://zxpsuper.github.io/qrcode-with-logos!
Example
<img id="image" alt="" />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')Dependencies
| Project | Status | Description |
|---|---|---|
| qrcode | QR code/2d barcode generator. |
Questions or advise
If you have some question or advise, you can send me a E-mail(zxpscau@163.com) or open an issue.