Package Exports
- @plattar/plattar-qrcode
- @plattar/plattar-qrcode/index.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 (@plattar/plattar-qrcode) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
plattar-qrcode allows embedding plattar style QR Codes into existing websites.
Quick Use
- ES2015 & ES2019 Builds via jsDelivr
// Minified Version ES2015 & ES2019 (Latest)
https://cdn.jsdelivr.net/npm/@plattar/plattar-qrcode/build/es2015/plattar-qrcode.min.js
https://cdn.jsdelivr.net/npm/@plattar/plattar-qrcode/build/es2019/plattar-qrcode.min.js
// Standard Version ES2015 & ES2019 (Latest)
https://cdn.jsdelivr.net/npm/@plattar/plattar-qrcode/build/es2015/plattar-qrcode.js
https://cdn.jsdelivr.net/npm/@plattar/plattar-qrcode/build/es2019/plattar-qrcode.js
Installation
- Install using npm
npm install @plattar/plattar-qrcode
Examples
Embed a Plattar Styled QRCode into your website
<plattar-qrcode url="https://www.plattar.com" width="256" height="256" margin="0" color="#101721"></plattar-qrcode>
Will output the following QRCode
Acknowledgements
This tool relies on the following open source projects.