
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
qr-pure-image
Advanced tools
Pure javascript QR code image generation.
This package is a copy off the qr-image package. The qr-image package contains some features that requires some NodeJS. In this version all of these features have been removed or updated. So this package does not have ANY external dependencies.
The api itself has also been changed to be a bit more clear.
The TypeScript declarations have also been added to the package itself instead of the @types
organization.
const qr = require('qr-pure-image');
const qr_svg = qr.svg('I love QR!');
// Outputs "<svg> .... </svg>"
qr.bitmap(text, [size | options])
- Generate a QR bitmap of the given text;qr.svg(text, [size | options])
- Generate a svg string with a QR code of the given text;qr.pdf(text, [options])
- Generate a pdf string with a QR code of the given text;qr.eps(text, [options])
- Generate an eps string with a QR code of the given text;qr.matrix(text, [ec_level])
- Create a 2D array of number representing the QR code.text
- Text to encode into a QR codesize
- Size of the imageoptions
- Image options object
ec_level
- Error correction level. One of L, M, Q, H. Default M.size
- Size of the imagemargin
- White space around the QR imageMore examples can be found here.
[1.0.1] - 2022-03-23
FAQs
QR Code generator (bitmap, svg, pdf, eps)
The npm package qr-pure-image receives a total of 63 weekly downloads. As such, qr-pure-image popularity was classified as not popular.
We found that qr-pure-image 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.