@techstark/opencv-js 4.8.0-release.3 → 4.8.0-release.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -30,17 +30,8 @@ TypeScript is supported (thanks to `mirada`).
30
30
 
31
31
  - `npm install @techstark/opencv-js`
32
32
  - or `yarn add @techstark/opencv-js`
33
- - `const cv = await import("@techstark/opencv-js");`
34
- - or wrap it in an async function like
35
-
36
- ```js
37
- async function getOpenCv() {
38
- const cv = await import("@techstark/opencv-js");
39
- // for development
40
- window.cv = cv;
41
- return cv;
42
- }
43
- ```
33
+ - `import cv from "@techstark/opencv-js"`
34
+ - or `import * as cv from "@techstark/opencv-js"` for Angular
44
35
 
45
36
  # Webpack Configuration (for browser usage)
46
37