Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
nlinks-vue-barcode
Advanced tools
Readme
⚠️ Hello everyone! My name is Dmytro and I am from 🇺🇦 Ukraine. People in Ukraine ARE DYING RIGHT NOW because of 🇷🇺 Russia Agression! Please help Ukraine. Donate if you can to: UKRAINE’S DEFENDERS, CHARITABLE FOUNDATION "COME BACK ALIVE". Help to stop Russian aggression 🙏! #StandWithUkraine 🇺🇦 IT Army of Ukraine
A Vue.js set of components to scan (or upload images) barcodes and QR codes.
Demo repository | Codesandbox | Vercel | Netlify
Or you can check the library in action on the website parceltrackingapp.com.
The easiest way to use Vue Barcode Reader is to install it from npm or yarn.
npm install vue-barcode-reader --save
Or
yarn add vue-barcode-reader
For Vue 2.0 compatible version please use the vue-barcode-reader@0.0.3
.
There are type definitions available for those who work with TypeScript.
npm install @types/vue-barcode-reader --save-dev
Or
yarn add -D @types/vue-barcode-reader
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";
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";
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 nlinks-vue-barcode receives a total of 1 weekly downloads. As such, nlinks-vue-barcode popularity was classified as not popular.
We found that nlinks-vue-barcode 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.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.