GitHub repository: lucidgreen/onscan.js
Description: On-scan events for hardware barcode scanners in vanilla JS