Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
qrcode-terminal-alpha
Advanced tools
Going where no QRCode has gone before.
Just pre release of qrcode-terminal. For most case I suggest you to continually use qrcode-terminal.
Can be installed with:
$ npm install qrcode-terminal-alpha
and used:
var qrcode = require('qrcode-terminal-alpha');
To display some data to the terminal just call:
qrcode.generate('This will be a QRCode, eh!');
You can even specify the error level (default is 'L'):
qrcode.setErrorLevel('Q');
qrcode.generate('This will be a QRCode with error level Q!');
If you don't want to display to the terminal but just want to string you can provide a callback:
qrcode.generate('http://github.com', function (qrcode) {
console.log(qrcode);
});
If you want to display small output, provide opts
with small
:
qrcode.generate('This will be a small QRCode, eh!', {small: true});
qrcode.generate('This will be a small QRCode, eh!', {small: true}, function (qrcode) {
console.log(qrcode)
});
$ npm install -g qrcode-terminal-alpha
$ qrcode-terminal --help
$ qrcode-terminal 'http://github.com'
node-qrcode is a popular server-side QRCode generator that
renders to a canvas
object.
To setup the development envrionment run npm install
To run tests run npm test
Gord Tanner <gtanner@gmail.com>
Micheal Brooks <michael@michaelbrooks.ca>
FAQs
QRCodes, in the terminal
The npm package qrcode-terminal-alpha receives a total of 0 weekly downloads. As such, qrcode-terminal-alpha popularity was classified as not popular.
We found that qrcode-terminal-alpha 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 a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.