Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/cshaa/qr-svelte
- Owner: cshaa
- Created: 2023-08-23T07:02:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-25T13:44:06.000Z (over 1 year ago)
- Last Synced: 2025-01-17T21:12:57.398Z (8 days ago)
- Language: Svelte
- Homepage: https://svelte-qr-m93a.vercel.app
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.