diff --git a/README.md b/README.md index 27e05f8..f9844c4 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,10 @@ Try it: [https://ffmpegwasm.netlify.app](https://ffmpegwasm.netlify.app#demo) $ npm install @ffmpeg/ffmpeg @ffmpeg/core ``` -> As we are using the latest experimental features, you need to add few flags to run in Node.js +> As we are using experimental features, you need to add flags to run in Node.js ``` -$ node --experimental-wasm-threads --experimental-wasm-bulk-memory transcode.js +$ node --experimental-wasm-threads transcode.js ``` **Browser** diff --git a/package.json b/package.json index b4f31b2..365f995 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "wait": "rimraf dist && wait-on http://localhost:3000/dist/ffmpeg.dev.js", "test": "npm-run-all -p -r start test:all", "test:all": "npm-run-all wait test:browser:ffmpeg test:node:all", - "test:node": "node --experimental-wasm-threads --experimental-wasm-bulk-memory node_modules/.bin/_mocha --exit --bail --require ./scripts/test-helper.js", + "test:node": "node --experimental-wasm-threads node_modules/.bin/_mocha --exit --bail --require ./scripts/test-helper.js", "test:node:all": "npm run test:node -- ./tests/*.test.js", "test:browser": "mocha-headless-chrome -a allow-file-access-from-files -a incognito -a no-sandbox -a disable-setuid-sandbox -a disable-logging -t 300000", "test:browser:ffmpeg": "npm run test:browser -- -f ./tests/ffmpeg.test.html"