A Pure Javascript QR Code Reading Library | qrcode-parser

Javascript-QR-Code-Reading

QRcode-parser is a JS library to parse and read information from QR codes that you provide in file objects or image URLs. Pure JavaScript QR code reading library, accept file object, image URL, and image base.

A cross-platform HTML5 QR code reader, QR code generation library in javascript, Generate QR Code In Javascript

Check Here – A Pure QRCode Encode and Decode JavaScript Library | Decoding/Encoding

How to make use of it:

Install the QRcode-parser:

# Yarn
$ yarn add qrcode-parser

# NPM
$ npm install qrcode-parser --save

The example app.

import qrcodeParser from src'

const imageUrl = 'qrcode.png'

qrcodeParser(imageUrl).then(res => {
  document.getElementById('content').innerText = res.data
})

const fileElement = document.getElementById('file')
fileElement.addEventListener('change', () => {
  const file = fileElement.files[0]
  qrcodeParser(file).then(res => {
    document.getElementById('content').innerText = res.data
  })
}, false)

Online QR Code Reader With Pure JavaScript, html5 QR code reader, QRcode Parser Plugin/Github

Read More – 

How to Encode and Decode Strings Using Base64 | base64.js
Free Simple Barcode Generator for Vue.js


See Demo And Download

Official Website(sinchang): Click Here

This superior jQuery/javascript plugin is developed by sinchang. For extra Advanced Usage, please go to the official website.

Share