summaryrefslogtreecommitdiff
path: root/rust/wasm/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'rust/wasm/README.md')
-rw-r--r--rust/wasm/README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/rust/wasm/README.md b/rust/wasm/README.md
index e90c58c2..8147bb08 100644
--- a/rust/wasm/README.md
+++ b/rust/wasm/README.md
@@ -11,7 +11,10 @@ npm install opencut-wasm
## Usage
```ts
-import { formatTimeCode } from "opencut-wasm";
+import { formatTimecode, mediaTimeFromSeconds } from "opencut-wasm";
+
+const ticks = mediaTimeFromSeconds(1.5);
+const label = formatTimecode({ ticks });
```
All exports are documented in the [TypeScript definitions](./opencut_wasm.d.ts).