This library is designed to use with USB Barcode Scanners. Usage BarcodeReader.start(); BarcodeReader.barcodeReaded = function (code) { console.log('barcode ' + code); }