Security News
The Dark Side of Open Source
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
node-red-contrib-qrcode-generator
Advanced tools
Readme
Create QRCode from action text. Based on node-qrcode module.
Install from PALETTE Manager or run the following command in your NODE-RED user directory typically: ~/.node-red
npm install node-red-contrib-qrcode-generator
Processes string to generate QRCode. Use the editor as an helper to forge action text string (link, sms, wifi etc.) or post your custom string using msg.qrcodeinput
input property. Here is documentation to create your custom action text. Remember QRCode are specific for some devices for example Wi-Fi Network config works only on Android or iOS 11+. There are a lot of different standards on actionable text, the helper (editor configuration) aims to cover some of the most used. Finally node returns DataUri format image in msg.payload
.
You can render DataUri result, in html page with img element, using template node with mustache:
<body>
<img src="{{payload}}">
</body>
or you can link output to image viewer node and get a preview in your Node-Red workspace panel.
You can use different colors but keep in mind that Background Color must be brighter than QRcode Color.
msg.qrcodeinput
Custom string, it will be used instead of editor configuration. e.g.:
msg.qrcodeinput = 'mailto:someone@yoursite.com';
creates QRcode with action text for sending email to a specific address.
msg.payload
Image in DataURI format.
FAQs
QRCODE Generator
The npm package node-red-contrib-qrcode-generator receives a total of 71 weekly downloads. As such, node-red-contrib-qrcode-generator popularity was classified as not popular.
We found that node-red-contrib-qrcode-generator 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
At Node Congress, Socket CEO Feross Aboukhadijeh uncovers the darker aspects of open source, where applications that rely heavily on third-party dependencies can be exploited in supply chain attacks.
Research
Security News
The Socket Research team found this npm package includes code for collecting sensitive developer information, including your operating system username, Git username, and Git email.
Security News
OpenJS is warning of social engineering takeovers targeting open source projects after receiving a credible attempt on the foundation.