
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
colube-qrcode
Advanced tools
[](https://www.npmjs.com/package/svelte-qrcode) [](https://github.com/JonasJs/svelte-qrcode/blob/master/LICENSE) [![Total alerts]
Generate from QR Code with style, logo, and Error Level Rate that serve to avoid errors if the QR Code
is damaged.
npm i svelte-qrcode
// OR
yarn add svelte-qrcode
Local demo:
git clone https://github.com/JonasJs/svelte-qrcode.git
cd svelte-qrcode
yarn install && yarn start
An example of how to use the library:
<script>import QrCode from "svelte-qrcode"</script>
<div class="container">
<QrCode value="https://github.com/" />
</div>
You can control many aspects of the QR code using the following props:
Prop | Type | Description | Default |
---|---|---|---|
background | String | Background color of the QR code | "#FFFFFF" |
color | String | Foreground color of the QR code | "#000000" |
errorCorrection | String | Error correction level of the QR code (L, M, Q, H) | "L" |
padding | Number | Padding for the QR code (pixels) | 0 |
size | Number | Size of the QR code (pixels) | 200 |
value | String | Value encoded within the QR code | "" |
Download stats for this NPM package
Svelte Adress Autocomplete is open source software licensed as MIT.
FAQs
[](https://www.npmjs.com/package/svelte-qrcode) [](https://github.com/JonasJs/svelte-qrcode/blob/master/LICENSE) [![Total alerts]
We found that colube-qrcode 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
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.