Socket
Book a DemoInstallSign in
Socket

ng2-qrcode-reader

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng2-qrcode-reader

An Angular 4+ component for reading QRCodes

0.0.1
latest
Source
npmnpm
Version published
Maintainers
1
Created
Source

ng2-qrcode-reader

An Angular 4+ Component library for Reading QR (Quick Response ) Codes .

You can pass QRCode as URL to image ,DATA URL Or canvas context data .

Demo

A simple demo

Installation

To use ng2-qrcode-reader in your project, install it via npm:

$ npm install ng2-qrcode-reader --save

Usage

For a complete and detailed tutorial on how to use this library .See :

How to Generate/Read QR Codes In Angular 4+ Applications

Import the NgQRCodeReaderModule from ng2-qrcode-reader into your app :

Once the library is imported, you can use the ng2-qrcode-reader component in your Angular application:


 <ng2-qrcode-reader (result)="render($event)" [qrr-show]="showQRCode" [qrr-value]="value" [qrr-type]="elementType"></ng2-qrcode-reader>


Development

To generate all *.js, *.d.ts and *.metadata.json files:

$ npm run build

To lint all *.ts files:

$ npm run lint

License

MIT © Techiediaries

Keywords

angular

FAQs

Package last updated on 08 Jun 2017

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.