Skip to content

Commit 417e3c9

Browse files
committed
Rename getCv function to getOpenCv for clarity in README
1 parent b1fc11e commit 417e3c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ TypeScript is supported (thanks to `mirada`).
1111
```js
1212
import cvModule from "@techstark/opencv-js";
1313

14-
async function getCv() {
14+
async function getOpenCv() {
1515
let cv;
1616
if (cvModule instanceof Promise) {
1717
cv = await cvModule;
@@ -25,7 +25,7 @@ async function getCv() {
2525
}
2626

2727
async function main() {
28-
const cv = await getCv();
28+
const cv = await getOpenCv();
2929
console.log("OpenCV.js is ready!");
3030
// You can now use OpenCV functions here
3131
console.log(cv.getBuildInformation());

0 commit comments

Comments
 (0)