A different context but related: a website plugin that I have built years ago for barcode scanning machines: JBarcode -
https://github.com/veysiertekin/jbarcodeI didn't made any changes since then. But it can be easily ported into a more modern framework (React.js etc)