
Security News
vlt Launches "reproduce": A New Tool Challenging the Limits of Package Provenance
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Qrim (QR Image Maker), a JavaScript library for generating QR Code images.
Origianly forked from qrcode.js. Removed legacy code, refactored to support ES modules, included UTF8 character support, and added stylization options.
qrim.module.js
, import from file...import { QRCode } from 'qrim.module.js';
npm install qrim
import { QRCode } from 'qrim';
import { QRCode } from 'https://unpkg.com/qrim/build/qrim.module.js';
<div id="qrcode"></div>
<script type='module'>
import { QRCode } from 'qrim';
const el = document.getElementById("qrcode");
const qr = new QRCode(el, "http://www.code.com");
</script>
Parameters object, all properties are optional
const qr = new QRCode(el, {
text: "http://www.domain.com", // text to generate
size: 1024, // image dimensions
colorDark : "#000000", // block color
colorLight : "#ffffff", // background color
border: 1, // border size, in # of blocks
padding: 1, // padding size, in # of blocks
opacity: 1, // image opacity
style: QRCode.Styles.Square, // Square | Blob | Dots
correctLevel: QRErrorCorrectLevel.H, // L | M | Q | H
});
// make new code from new text
qr.makeCode("http://www.newcode.com");
// ...or make new code from updated parameters
const params = {
text: "http://www.newcode.com",
size: 2048,
opacity: 0.5,
};
qr.makeCode(params);
FAQs
Stylized JavaScript QR Code image generator with UTF8 support.
The npm package qrim receives a total of 1 weekly downloads. As such, qrim popularity was classified as not popular.
We found that qrim 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
vlt's new "reproduce" tool verifies npm packages against their source code, outperforming traditional provenance adoption in the JavaScript ecosystem.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.