diff --git a/README.md b/README.md index 2167328..4e65a47 100644 --- a/README.md +++ b/README.md @@ -567,7 +567,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",