![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
A Vue component to generate QR Code and download.
npm i @ispa.io/vrcode
import Vue from 'vue';
Vue.component('vrcode', require('vrcode').default);
<vrcode
:download="{
text: 'Download',
filename: 'file-name.png',
visible: true, type: 'image/png'
}"
value="A Vue component to generate QR Code and download."
:options="{
size: 200,
level: 'Q'
}"
></vrcode>
String
undefined
The value of the QR code.
Passing download
props, to show download button, it support:
Type: Object
text
- button inner text
visible
- setting download button visible or not
style
- setting download button style
class
- setting download button class name
type
- image type, such as image/png; use mime type for exactly force download
filename
- file name to download
You can only download the qrcode to image by using type: canvas
String
'canvas'
You can use canvas
or svg
. But SVG not support to download now.
Type: Object
Values:
level
String
'L'
Possible levels are shown below:
Level | Error resistance |
---|---|
L (Low) | ~7% |
M (Medium) | ~15% |
Q (Quartile) | ~25% |
H (High) | ~30% |
padding
Number
10
This is padding border of image (Because users is difficult to scan with dark mode/dark background, so we need an white padding/border)
background
String
'#fff'
foreground
String
'#000'
className
String
''
Maintained under the Semantic Versioning guidelines.
FAQs
A Vue component to generate QR Code and download.
The npm package vrcode receives a total of 0 weekly downloads. As such, vrcode popularity was classified as not popular.
We found that vrcode demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.