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.
vue-barcode-reader-plus
Advanced tools
A Vue.js set of components to scan (or upload images) barcodes and QR codes.
The easiest way to use Vue Barcode Reader is to install it from npm or yarn.
npm install vue-barcode-reader-plus --save
Or
yarn add vue-barcode-reader-plus
For Vue 2.0 compatible version please use the vue-barcode-reader-plus@0.0.3
.
There are type definitions available for those who work with TypeScript.
npm install @types/vue-barcode-reader-plus --save-dev
Or
yarn add -D @types/vue-barcode-reader-plus
The Vue Barcode Reader works out of the box by just including it.
Once a stream from the users camera is loaded, it's displayed and continuously scanned for barcodes. Results are indicated by the decode event.
import { StreamBarcodeReader } from "vue-barcode-reader-plus";
In your template you can use this syntax:
<StreamBarcodeReader @decode="onDecode" @loaded="onLoaded"></StreamBarcodeReader>
The component renders to a simple file picker input element. Clicking opens a file dialog. On supporting mobile devices the camera is started to take a picture. The selected images are directly scanned and positive results are indicated by the decode
event.
import { ImageBarcodeReader } from "vue-barcode-reader-plus";
In your template you can use this syntax:
<ImageBarcodeReader @decode="onDecode" @error="onError"></ImageBarcodeReader>
methods: { onDecode (result) { console.log(result) } }
FAQs
Vue barcodes and QR codes scanner
The npm package vue-barcode-reader-plus receives a total of 13 weekly downloads. As such, vue-barcode-reader-plus popularity was classified as not popular.
We found that vue-barcode-reader-plus 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.