Add node version limitation

This commit is contained in:
jeromewu
2020-01-15 00:50:32 +00:00
parent 4565489aad
commit 22602ce6b0
3 changed files with 14 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
# ffmpeg.js
[![Node Version](https://img.shields.io/node/v/@ffmpeg/ffmpeg.svg)](https://img.shields.io/node/v/@ffmpeg/ffmpeg.svg)
[![Actions Status](https://github.com/ffmpegjs/ffmpeg.js/workflows/CI/badge.svg)](https://github.com/ffmpegjs/ffmpeg.js/actions)
[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/ffmpegjs/ffmpeg.js/graphs/commit-activity)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
@@ -60,6 +61,8 @@ const worker = createWorker();
$ npm install @ffmpeg/ffmpeg
```
> As we use `worker_threads` which was introduced in Node.js v10.5.0, please remember to add `--experimental-worker` if you are using Node.js v10, and you don't have to add anything if you are using Node.js v12
## Documentation
- [API](https://github.com/ffmpegjs/ffmpeg.js/blob/master/docs/api.md)