qr-scanner icon indicating copy to clipboard operation
qr-scanner copied to clipboard

[Question] Nodejs support?

Open mubaidr opened this issue 4 years ago • 2 comments

does this library support Node.js environment? also does it always require worker_path or if not provided runs in-process?

mubaidr avatar Sep 11 '20 04:09 mubaidr

did you get it working?

ray-bun avatar Jul 12 '21 12:07 ray-bun

I haven't tested using this lib in node. Maybe someone else can help?

For use in node js, I recommend using https://github.com/danimoh/jsQR directly. To run it in node, you might require the full-icu package, also see https://github.com/danimoh/jsQR/commit/ad744196309ba43afbf4659dd259ea72041013bf#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

danimoh avatar Aug 17 '21 12:08 danimoh