0.5.0 • Published 9 months ago

its-a-qrcode v0.5.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

It's a QR Code

npm version latest version License Continuous Integration Test Report Test Coverage Report

"It's a QR Code" is a web component that shows its text content as QR code image

Getting started

CDN

To use a CDN all you need is to add the following code in the HTML page:

<script type="module" src="https://cdn.jsdelivr.net/gh/OmarCastro/its-a-qrcode/dist/qrcode.element.min.js?named=qr-code"></script>

The query string named automatically registers the component with the value defined

NPM

If you wish to import from npm and use a bundler, you can install the its-a-qrcode package

npm install its-a-qrcode

Not all bundlers support query strings, it is recommended to import and register the component, like the following code:

import element from 'its-a-qrcode'
customElements.define('qr-code', element)

Documentation

full documentation on: https://omarcastro.github.io/its-a-qrcode

0.5.0

9 months ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.0

2 years ago

0.1.0

2 years ago