Build simple Node.js barcode reader applications for both desktop and web using barcode4nodejs and litecam.
npm install litecam barcode4nodejs canvas
Set the license key in the desktop.js
and web.js
files:
dbr.initLicense("LICENSE-KEY")
Run the desktop barcode and QR code scanning app with:
node desktop.js
To scan barcodes and QR codes in any web browser, start the web server and then navigate to localhost:2024
:
node web.js