Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Easy to use AOT compatible QR code generator for Angular projects.
Features:
Add as a dependency to your angular application:
npm install ng-qrcode --save
Import into your consuming module (Eg: AppModule):
import { QrCodeModule } from 'ng-qrcode';
@NgModule({
imports: [
QrCodeModule
]
})
<qr-code value="Yo world!" size="300" errorCorrectionLevel="M"></qr-code>
The value to encode in the QR code, eg: a url
An optional size in pixels to render at
Default: automatic size based on the value provided (recommended)
Controls the amount of redundant information included to make the QR code more likely to scan correctly if it is dirty / damaged
Default: "M"
Valid values: "L", "M", "Q", "H" - where "L" is the lowest amount of redundancy, and "H" is the highest
See: https://www.npmjs.com/package/qrcode#error-correction-level for further details
A demo app is included in the repository under projects/ng-qrcode-demo
which can be
run locally using ng build && ng serve
Pre-version 2.0.0 this package was developed by emin93 and used the qrious
npm package to generate the QR Codes.
The source for this was lost, and this repository is a re-write, first released
as v2.0.0 that uses the qrcode
npm package to generate QR Codes.
v2.0.0 should be backwards compatible, aside from a rename of the exported NgModule from QRCodeModule -> QrCodeModule for consistency.
2.0.0 - 2019-05-12
Re-written to use qrcode npm module to generate QR codes in browsers using JavaScript
Add errorCorrectionLevel input to qr-code component
Breaking Changes
FAQs
Simple AOT compatible QR code generator for your Angular project.
The npm package ng-qrcode receives a total of 12,923 weekly downloads. As such, ng-qrcode popularity was classified as popular.
We found that ng-qrcode demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.