angular2-qrscanner
QrScanner will scan for a QRCode from your Web-cam and return its string representation by drawing the captured image onto a 2D Canvas and use @LazarSoft/jsqrcode to check for a valid QRCode every Xms
usage
$ npm install --save angular2-qrscanner
// app.module.ts;
<!-- app.component.html --> [canvasHeight]="720" <!-- canvas height (default: 480) --> [stopAfterScan]="true" <!-- should the scanner stop after first success? (default: true) --> [updateTime]="500"> <!-- miliseconds between new capture (default: 500) -->
// app.component.ts ;;