Hi,
I’m trying to work with barcode.js
npm install barcode.js
I’ve seen a number of questions for 3rd party npm libraries, but most seem to be solved by importing the respective typings~dt port of the code. barcode.js doesn’t have one that I’m aware of.
In home.ts, when I write
import {w69b} from 'barcode.js';
…I get the error "Cannot find module ‘barcode.js’.
I simply want a browser based QR reader that streams from the webcam. Stand-alone example here: “Scanner Widget” code, with the live example here.
And I’m fairly new to working with 3rd party libs. Any help is greatly appreciated!
Thanks,
Ryan