diff --git a/README.md b/README.md index 2006147..8ff87f5 100644 --- a/README.md +++ b/README.md @@ -566,7 +566,7 @@ that node does not support web-workers out of the box. Therefore the config property `numOfWorkers` must be explicitly set to `0`. ```javascript -var Quagga = require('quagga'); +var Quagga = require('quagga').default; Quagga.decodeSingle({ src: "image-abc-123.jpg",