Quagga2 is the newer version of QuaggaJS. It's decent when you're looking for basic scanning needs or for test projects. Found this tutorial that basically describes the integration step by step: https://scanbot.io/techblog/quagga-js-tutorial/