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, image base.
A cross platform HTML5 QR code reader, QR code generation library in javascript, Generate QR Code In Javascript
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
See Demo And Download
Official Website(sinchang): Click Here
This superior jQuery/javascript plugin is developed by sinchang. For extra Advanced Usages, please go to the official website.
Be First to Comment