package
Capture and read a QR code from a camera from nodejs.
npm install node-camera-qr-readerGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Capture and read a QR code from a camera from nodejs.
const captureQrCode = require('node-camera-qr-reader')
const opts = {
retry: true, // keep checking until a QR is found, default: false
retryUntilTimeout: 10000 // milliseconds until giving up, default: never give up
}
const content = await captureQrCode(opts)sudo apt-get install fswebcam
brew install imagesnap
Estimated unpacked size across 6 packages.
576.7 kB
Includes dependencies.