As an alternative, I am also attempting to load a QRcode library into dataview using require. It sounds like this was possible in 2021:
However, testing this I receive an error:
ReferenceError: require is not defined
2021 was some time ago. Is it currently possible to import js files into dataviewjs? I may also look to see if something similar is possible with datacore.