Installations
npm install vue-qrcode
Developer Guide
Typescript
Yes
Module System
ESM
Node Version
20.11.0
NPM Version
10.2.4
Score
73.2
Supply Chain
98.5
Quality
77.5
Maintenance
100
Vulnerability
99.3
License
Releases
vue-qrcode@2.2.2
Published on 28 Jan 2024
vue-qrcode@2.2.1
Published on 24 Jan 2024
vue-resizor@0.1.0
Published on 24 Jan 2024
vue-qrious@3.1.1
Published on 24 Jan 2024
vue-qrious@3.1.0
Published on 18 Sept 2022
vue-qrcode@2.2.0
Published on 18 Sept 2022
Contributors
Unable to fetch Contributors
Languages
TypeScript (61.89%)
Vue (35.05%)
Less (2.5%)
JavaScript (0.56%)
Developer
Download Statistics
Total Downloads
1,774,723
Last Day
1,900
Last Week
9,486
Last Month
46,331
Last Year
509,377
GitHub Statistics
284 Stars
91 Commits
54 Forks
8 Watching
12 Branches
5 Contributors
Bundle Size
1.59 kB
Minified
826.00 B
Minified + Gzipped
Sponsor this package
Package Meta Information
Latest Version
2.2.2
Package Id
vue-qrcode@2.2.2
Unpacked Size
22.35 kB
Size
4.84 kB
File Count
7
NPM Version
10.2.4
Node Version
20.11.0
Publised On
28 Jan 2024
Total Downloads
Cumulative downloads
Total Downloads
1,774,723
Last day
-25.2%
1,900
Compared to previous day
Last week
-20%
9,486
Compared to previous week
Last month
9.6%
46,331
Compared to previous month
Last year
10.7%
509,377
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
VueQrcode
🤳 A Vue component for QR code generation with qrcode
TOC
Demo
Usage
1<template> 2 <vue-qrcode 3 value="https://www.1stg.me" 4 @change="onDataUrlChange" 5 /> 6</template> 7<script> 8import VueQrcode from 'vue-qrcode' 9 10export default { 11 data() { 12 return { 13 dataUrl: null, 14 } 15 }, 16 components: { 17 VueQrcode, 18 }, 19 methods: { 20 onDataUrlChange(dataUrl) { 21 this.dataUrl = dataUrl 22 }, 23 }, 24} 25</script>
Available Props
prop | type (range) | default value |
---|---|---|
version | number (1-40) | N/A |
errorCorrectionLevel | String ('low', 'medium', 'quartile', 'high', 'L', 'M', 'Q', 'H') | 'M' |
maskPattern | number (0-7) | N/A |
toSJISFunc | Function | N/A |
margin | number | 4 |
scale | number | 4 |
width | number | N/A |
color | { dark: string; light:string } | { dark: '#000000ff', light: '#ffffffff' } |
type | string ('image/png', 'image/jpeg', 'image/webp') | 'image/png' |
quality | number (0-1) | 0.92 |
value | string |Array<{ data: string; mode?: string }> | N/A |
Available Events
event | type |
---|---|
change | dataUrl: string |
Sponsors
1stG | RxTS | UnTS |
---|---|---|
Backers
1stG | RxTS | UnTS |
---|---|---|
Changelog
Detailed changes for each release are documented in CHANGELOG.md.
License
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
SAST tool detected but not run on all commits
Details
- Info: SAST configuration detected: CodeQL
- Warn: 6 commits out of 16 are checked with a SAST tool
Reason
Found 1/23 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Info: jobLevel 'actions' permission set to 'read': .github/workflows/codeql.yml:18
- Info: jobLevel 'contents' permission set to 'read': .github/workflows/codeql.yml:19
- Warn: no topLevel permission defined: .github/workflows/ci.yml:1
- Warn: no topLevel permission defined: .github/workflows/codeql.yml:1
- Warn: no topLevel permission defined: .github/workflows/pkg-size.yml:1
- Warn: no topLevel permission defined: .github/workflows/release.yml:1
- Info: no jobLevel write permissions found
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:21: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/ci.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:36: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/ci.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:33: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/codeql.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/codeql.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pkg-size.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/pkg-size.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pkg-size.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/pkg-size.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/pkg-size.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/pkg-size.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/release.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/release.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:30: update your workflow using https://app.stepsecurity.io/secureworkflow/rx-ts/vue/release.yml/master?enable=pin
- Info: 0 out of 10 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 3 third-party GitHubAction dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
26 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq
- Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h
- Warn: Project is vulnerable to: GHSA-x3cc-x39p-42qx
- Warn: Project is vulnerable to: GHSA-mhxj-85r3-2x55
- Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97
- Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j
- Warn: Project is vulnerable to: GHSA-3rfm-jhwj-7488
- Warn: Project is vulnerable to: GHSA-hhq3-ff78-jv3g
- Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-f8q6-p94x-37v3
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-gcx4-mw62-g8wm
- Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw
- Warn: Project is vulnerable to: GHSA-44c6-4v22-4mhx
- Warn: Project is vulnerable to: GHSA-4x5v-gmq8-25ch
- Warn: Project is vulnerable to: GHSA-8266-84wp-wv5c
- Warn: Project is vulnerable to: GHSA-7p7h-4mm5-852v
- Warn: Project is vulnerable to: GHSA-8jhw-289h-jh2g
- Warn: Project is vulnerable to: GHSA-64vr-g452-qvp3
- Warn: Project is vulnerable to: GHSA-9cwx-2883-4wfx
- Warn: Project is vulnerable to: GHSA-vg6x-rcgg-rjx6
- Warn: Project is vulnerable to: GHSA-g3ch-rx76-35fx
- Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7
Score
3.2
/10
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