
Research
/Security News
60 Malicious Ruby Gems Used in Targeted Credential Theft Campaign
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
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
A RubyGems malware campaign used 60 malicious packages posing as automation tools to steal credentials from social media and marketing tool users.
Security News
The CNA Scorecard ranks CVE issuers by data completeness, revealing major gaps in patch info and software identifiers across thousands of vulnerabilities.
Research
/Security News
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.