Gathering detailed insights and metrics for vue3-qrcode-reader
Gathering detailed insights and metrics for vue3-qrcode-reader
Gathering detailed insights and metrics for vue3-qrcode-reader
Gathering detailed insights and metrics for vue3-qrcode-reader
npm install vue3-qrcode-reader
Typescript
Module System
Node Version
NPM Version
64.6
Supply Chain
98.9
Quality
75
Maintenance
100
Vulnerability
100
License
TypeScript (55.6%)
Vue (42.3%)
Nix (1.35%)
JavaScript (0.74%)
Shell (0.02%)
Total Downloads
179,859
Last Day
220
Last Week
1,188
Last Month
5,673
Last Year
65,780
2,155 Stars
375 Commits
343 Forks
33 Watching
22 Branches
29 Contributors
Minified
Minified + Gzipped
Latest Version
0.0.1
Package Id
vue3-qrcode-reader@0.0.1
Unpacked Size
3.10 MB
Size
1.41 MB
File Count
79
NPM Version
6.14.5
Node Version
12.18.2
Cumulative downloads
Total Downloads
Last day
-40.7%
220
Compared to previous day
Last week
-28.1%
1,188
Compared to previous week
Last month
-4.8%
5,673
Compared to previous month
Last year
-15.9%
65,780
Compared to previous year
A set of Vue.js components, allowing you to detect and decode QR codes, without leaving the browser.
QrcodeStream
accesses the device camera and continuously scans incoming frames.QrcodeDropZone
renders to an empty region where you can drag-and-drop images to be decoded.QrcodeCapture
is a classic file upload field, instantly scanning all files you select.All components are responsive. Beyond that, close to zero styling. Make them fit your layout. Usage is simple and straight forward:
1<qrcode-stream @decode="onDecode"></qrcode-stream>
1methods: { 2 onDecode (decodedString) { 3 // ... 4 } 5}
Run
1npm install vue-qrcode-reader
You can import the components independantly
1import { QrcodeStream, QrcodeDropZone, QrcodeCapture } from 'vue-qrcode-reader' 2 3const MyComponent = { 4 5 components: { 6 QrcodeStream, 7 QrcodeDropZone, 8 QrcodeCapture 9 }, 10 11 // ... 12))
or register all of them globally right away
1import Vue from "vue"; 2import VueQrcodeReader from "vue-qrcode-reader"; 3 4Vue.use(VueQrcodeReader);
Include the following JS file:
https://unpkg.com/vue-qrcode-reader/dist/VueQrcodeReader.umd.min.js
Make sure to include it after Vue:
1<script src="./vue.js"></script> 2<script src="./VueQrcodeReader.umd.min.js"></script>
All components are automatically registered globally. Use kebab-case to reference them in your templates:
1<qrcode-stream></qrcode-stream> 2<qrcode-drop-zone></qrcode-drop-zone> 3<qrcode-capture></qrcode-capture>
QrcodeStream
.init
event to investigate errors.No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
packaging workflow detected
Details
Reason
3 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 5
Reason
Found 9/26 approved changesets -- score normalized to 3
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
12 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More