Skip to content

Commit ee8f9a9

Browse files
committed
update readme
1 parent ff1cc0b commit ee8f9a9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,21 @@ TypeScript is supported (thanks to `mirada`).
88

99
# Basic Usage
1010

11+
## >=4.11
12+
13+
```js
14+
import cvReadyPromise from "@techstark/opencv-js";
15+
16+
async function main() {
17+
const cv = await cvReadyPromise;
18+
console.log("OpenCV.js is ready!");
19+
// You can now use OpenCV functions here
20+
console.log(cv.getBuildInformation());
21+
}
22+
```
23+
24+
## <=4.10
25+
1126
```js
1227
import cv from "@techstark/opencv-js";
1328

0 commit comments

Comments
 (0)