From e60713a98adc61a59d83ddc914098275d51f0a20 Mon Sep 17 00:00:00 2001 From: jeromewu Date: Tue, 24 Mar 2020 03:36:50 +0000 Subject: [PATCH] Update README.md --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 16da2ea..161864d 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,7 @@ const worker = createWorker(); await worker.transcode('test.avi', 'test.mp4'); const { data } = await worker.read('test.mp4'); fs.writeFileSync('./test.mp4', data); + await worker.terminate(); })(); ``` @@ -74,6 +75,10 @@ Or, using a script tag in the browser: ``` +## Examples + +- With React: https://github.com/ffmpegjs/react-app + ## Documentation - [API](https://github.com/ffmpegjs/ffmpeg.js/blob/master/docs/api.md)