barcode-detector
barcode-detector copied to clipboard
Not SSR friendly
The code accesses browser-only APIs on import such as EventTarget
, Blob
, etc. This makes the library not SSR friendly. It would be better access browser APIs as late as possible. Maybe on new BarcodeDetector()
.