Online QR Code Reader With Pure JavaScript – qrcode-parser

Category: Javascript | March 23, 2023
Author:sinchang
Views Total:405 views
Official Page:Go to website
Last Update:March 23, 2023
License:MIT

Preview:

Online QR Code Reader With Pure JavaScript – qrcode-parser

Description:

qrcode-parser is a JavaScript library to parse and read information from QR codes you provide in File objects or image URLs.

Dependencies:

  • jsQR: QR code reading library.
  • UPNG.js: PNG (APNG) decoder and encoder.

How to use it:

Install the qrcode-parser:

# Yarn
$ yarn add qrcode-parser
# NPM
$ npm install qrcode-parser --save

The example app.

import qrcodeParser from "qrcode-parser";
// File object, image url, image base64
qrcodeParser(input);
// => return promise

Changelog:

03/23/2023

  • v2.1.3: bugfix

03/12/2023

  • v2.1.1: bugfix

03/07/2023

  • v2.1.0: support JEPG qrcode image

05/28/2022

  • v2.0.4: Bugfix

05/22/2022

  • v2.0.2: Bugfix

09/13/2021

  • Rewrite in TS

09/12/2020

  • fix: upgrade deps and add test cases

You Might Be Interested In:


Leave a Reply