Skip to content

Commit

Permalink
Merge pull request ffmpegwasm#423 from FractalHQ/patch-2
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
jeromewu committed Sep 28, 2022
2 parents f3473ec + fca5e6d commit 6d62e1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ Or, using a script tag in the browser (only works in some browsers, see list bel
ffmpeg.wasm provides simple to use APIs, to transcode a video you only need few lines of code:

```javascript
const fs = require('fs');
const { createFFmpeg, fetchFile } = require('@ffmpeg/ffmpeg');
import { writeFile } from 'fs/promises';
import { createFFmpeg, fetchFile } from '@ffmpeg/ffmpeg';

const ffmpeg = createFFmpeg({ log: true });

Expand Down

0 comments on commit 6d62e1a

Please sign in to comment.