Socket
Socket
Sign inDemoInstall

vue-barcode-reader

Package Overview
Dependencies
3
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.1 to 1.0.2

2

package.json
{
"name": "vue-barcode-reader",
"version": "1.0.1",
"version": "1.0.2",
"description": "Vue barcodes and QR codes scanner",

@@ -5,0 +5,0 @@ "main": "src/index.js",

# Vue Barcode and QR code scanner
> ⚠️ 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](https://war.ukraine.ua/donate/), [CHARITABLE FOUNDATION "COME BACK ALIVE"](https://savelife.in.ua/en/donate/). Help to stop Russian aggression 🙏! #StandWithUkraine
> [🇺🇦 IT Army of Ukraine](https://t.me/itarmyofukraine2022)
A Vue.js set of components to scan (or upload images) barcodes and QR codes.

@@ -7,8 +10,8 @@

* Can scan both barcodes and QR codes
* Uses [ZXing](https://github.com/zxing-js/library) ("zebra crossing"), an open-source, multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages.
- Can scan both barcodes and QR codes
- Uses [ZXing](https://github.com/zxing-js/library) ("zebra crossing"), an open-source, multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages.
## Demo
You can test in codesandbox demo site https://codesandbox.io/s/vue-barcode-reader-demo-guj3f
[Demo repository](https://github.com/olefirenko/vue-barcode-reader-example) | [Codesandbox](https://codesandbox.io/s/vue-barcode-reader-demo-guj3f) | [Vercel](https://vue-barcode-reader-example-2iiz1fhbf-olefirenko.vercel.app/) | [Netlify](https://stupefied-meitner-58f299.netlify.app/)

@@ -62,7 +65,5 @@ Or you can check the library in action on the website [parceltrackingapp.com](https://parceltrackingapp.com/en).

In your template you can use this syntax:
```html
<StreamBarcodeReader
@decode="onDecode"
@loaded="onLoaded"
></StreamBarcodeReader>
<StreamBarcodeReader @decode="onDecode" @loaded="onLoaded"></StreamBarcodeReader>
```

@@ -79,15 +80,9 @@

In your template you can use this syntax:
```html
<ImageBarcodeReader
@decode="onDecode"
@error="onError"
></ImageBarcodeReader>
<ImageBarcodeReader @decode="onDecode" @error="onError"></ImageBarcodeReader>
```
```html
methods: {
onDecode (result) {
console.log(result)
}
}
methods: { onDecode (result) { console.log(result) } }
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc