1.0.0 • Published 4 years ago
parse-qrcode v1.0.0
parse-qrcode
一个纯 JavaScript 的 QR码阅读库。该库将获取原始图像,并将查找,提取QR码。
Installation
NPM
npm install parse-qrcode --save
import parseQrcode from 'parse-qrcode';
// input<file>
parseQrcode( file ).then( data => {
//data.url
//data.base64
} ).catch( errMsg => console.log( errMsg ) )
1.0.0
4 years ago