Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cshaa/qr-svelte

Svelte components for generating and scanning QR codes
https://github.com/cshaa/qr-svelte

Last synced: about 6 hours ago
JSON representation

Svelte components for generating and scanning QR codes

Awesome Lists containing this project

README

        

# svelte-qr

QR code generator and scanner for Svelte, based on the libraries [qrcode](https://www.npmjs.com/package/qrcode) and [qr-scanner](https://www.npmjs.com/package/qr-scanner). Example usage:

```svelte

import { Generator, Scanner } from "svelte-qr";
let lastDetectedCode: string;

{lastDetectedCode = e.detail.data}} />


Last detected code: {lastDetectedCode}


```

You will find a more detailed documentation in the JSDoc comments for each prop.