Installations
npm install @types/chenfengyuan__vue-qrcode
Developer Guide
Typescript
Yes
Module System
N/A
Score
50.2
Supply Chain
82.2
Quality
75.3
Maintenance
50
Vulnerability
99.6
License
Contributors
Languages
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Developer
DefinitelyTyped
Download Statistics
Total Downloads
282,639
Last Day
86
Last Week
440
Last Month
2,482
Last Year
41,002
GitHub Statistics
49,124 Stars
88,653 Commits
30,295 Forks
640 Watching
5 Branches
9,978 Contributors
Package Meta Information
Latest Version
1.0.7
Package Id
@types/chenfengyuan__vue-qrcode@1.0.7
Unpacked Size
5.17 kB
Size
2.00 kB
File Count
5
Publised On
07 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
282,639
Last day
-30.6%
86
Compared to previous day
Last week
-45.9%
440
Compared to previous week
Last month
-0%
2,482
Compared to previous month
Last year
-41.5%
41,002
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Installation
npm install --save @types/chenfengyuan__vue-qrcode
Summary
This package contains type definitions for @chenfengyuan/vue-qrcode (https://github.com/fengyuanchen/vue-qrcode).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chenfengyuan__vue-qrcode.
index.d.ts
1import { VueConstructor } from "vue"; 2 3declare const VueQrCode: QrCodeConstructor; 4export = VueQrCode; 5 6interface QrCodePorps { 7 // The value of the QR code. 8 value: string | null; 9 // The options for the QR code generator. 10 options: { 11 // QR Code version. 12 version?: number | undefined; 13 // Error correction level. 14 errorCorrectionLevel?: "low" | "medium" | "quartile" | "high" | "L" | "M" | "Q" | "H" | undefined; 15 // Mask pattern used to mask the symbol. 16 maskPattern?: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | undefined; 17 // Define how much wide the quiet zone should be. 18 margin?: number | undefined; 19 // Scale factor. 20 scale?: number | undefined; 21 // Forces a specific width for the output image. 22 width?: number | undefined; 23 color?: { 24 dark?: string | undefined; 25 light?: string | undefined; 26 } | undefined; 27 }; 28 // The tag name of the component's root element. 29 tag: string; 30} 31 32interface QrCodeWatch { 33 $props: (val: any) => void; 34} 35 36interface QrCodeMethods { 37 // Generate QR code. 38 generate: () => void; 39} 40 41interface QrCodeConstructor extends VueConstructor { 42 props: QrCodePorps; 43 watch: QrCodeWatch; 44 methods: QrCodeMethods; 45} 46
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: vue
Credits
These definitions were written by gaoming13.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
Found 26/30 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:5
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:12
- Info: 20 out of 20 GitHub-owned GitHubAction dependencies pinned
- Info: 8 out of 8 third-party GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/UpdateCodeowners.yml:19
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ghostbuster.yml:20
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/support-window.yml:22
- Info: topLevel 'contents' permission set to 'read': .github/workflows/CI.yml:16
- Info: topLevel 'contents' permission set to 'read': .github/workflows/UpdateCodeowners.yml:14
- Warn: no topLevel permission defined: .github/workflows/format-and-commit.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/ghostbuster.yml:15
- Info: topLevel 'contents' permission set to 'read': .github/workflows/lint-md.yml:7
- Warn: no topLevel permission defined: .github/workflows/pnpm-cache.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/support-window.yml:17
- Warn: no topLevel permission defined: .github/workflows/watchdog-publisher.yml:1
- Warn: no topLevel permission defined: .github/workflows/watchdog-typescript-bot.yml:1
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 28 are checked with a SAST tool
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
6.9
/10
Last Scanned on 2025-02-03
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