Disclosure: I work for Scandit.
This is a project we have been working on for a while and just launched. Feel free to ask me anything regarding barcode scanning or porting large and optimized C++ code-bases to webassembly.
[Edit] Here's the NPM package if you want to try this out yourself: https://www.npmjs.com/package/scandit-sdk