node-qrcode-zxing
v1.0.0
Published
Decode qrcode with zxing library
Downloads
2
Readme
node-qrcode-zxing
Decode qrcode with zxing library
Requirements:
- JDK 1.8 or above
Installation
npm install node-qrcode-zxing -S
# Or with yarn
yarn add node-qrcode-zxing -S
Usage
const Decoder = require('./');
Decoder.decode(imageData);
// Or decode sync
Decoder.decodeSync(imageData);
Mac OSX Issue
If you run into strange runtime issues, it could be because the Oracle JDK does not advertise itself as available for JNI. See Issue 90 for more details and manual workarounds. If this does occur for you, please update the issue.