Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@phippsytech/svelte-qrious
Advanced tools
Svelte QRious is a wrapper around QRious, a pure JavaScript library for generating QR codes using HTML5 canvas. It is a Svelte Component.
$ npm i @phippsytech/svelte-qrious
<script>
import {QRious} from '@phippsytech/svelte-qrious';
</script>
<QRious value="https://svelte.dev" />
You can control many aspects of the QR code using the following attributes:
Field | Type | Description | Default |
---|---|---|---|
background | String | Background color of the QR code | "white" |
backgroundAlpha | Number | Background alpha of the QR code | 1.0 |
foreground | String | Foreground color of the QR code | "black" |
foregroundAlpha | Number | Foreground alpha of the QR code | 1.0 |
level | String | Error correction level of the QR code (L, M, Q, H) | "H" |
padding | Number | Padding for the QR code (pixels) | null (auto) |
size | Number | Size of the QR code (pixels) | 100 |
value | String | Value encoded within the QR code | "" |
<QRious
value="https://github.com/phippsytech/svelte-qrious"
background="green"
backgroundAlpha=0.8
foreground="blue"
foregroundAlpha=0.8
level="H"
padding=25
size=500
/>
If you have any problems with the Svelte QRious component raise an issue here.
Svelte QRious Copyright © 2022 Phippsy Tech Pty Ltd
QRious
Copyright © 2017 Alasdair Mercer
Copyright © 2010 Tom Zerucha
See LICENSE.md for more information on our GPLv3 license.
FAQs
A Svelte wrapper around QRious, a qr code generator
The npm package @phippsytech/svelte-qrious receives a total of 1 weekly downloads. As such, @phippsytech/svelte-qrious popularity was classified as not popular.
We found that @phippsytech/svelte-qrious 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.