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)