Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
cordova-plugin-qrcodejs
Advanced tools
An Apache Cordova plugin for generating QR code as Base64 encoded URL string.
It's a pure JavaScript implementation that can run an just any platform.
All platforms are supported:
ionic plugin add https://github.com/MenelicSoftware/cordova-plugin-qrcodejs
or
cordova plugin add https://github.com/MenelicSoftware/cordova-plugin-qrcodejs
Then at the top of your Typescript code:
cordova.plugins.qrcodejs.encode('TEXT_TYPE', 'myemail@mydomain.me', (base64EncodedQRImage) => {
console.info('QRCodeJS response is ' + base64EncodedQRImage);
//TODO: use your base64EncodedQRImage
}, (err) => {
console.error('QRCodeJS error is ' + JSON.stringify(err));
});
Or with more options
let options = {
width: 256,
height: 256,
colorDark: "#000000",
colorLight: "#ffffff",
};
cordova.plugins.qrcodejs.encode('TEXT_TYPE', 'myemail@mydomain.me', (base64EncodedQRImage) => {
console.info('QRCodeJS response is ' + base64EncodedQRImage);
//TODO: use your base64EncodedQRImage
}, (err) => {
console.error('QRCodeJS error is ' + JSON.stringify(err));
}, options);
It is based on the great work done by the Blackberry team at https://github.com/blackberry/phonegap-plugin-barcodescanner/ wich is based on work done by https://github.com/jeromeetienne/jquery-qrcode
Apache-2
Copiright Menelic Limited.
FAQs
Cordova plugin for generating QR code
The npm package cordova-plugin-qrcodejs receives a total of 21 weekly downloads. As such, cordova-plugin-qrcodejs popularity was classified as not popular.
We found that cordova-plugin-qrcodejs 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.