video-extensions
Version:
List of video file extensions
25 lines (15 loc) • 470 B
Markdown
> List of [video file](https://en.wikipedia.org/wiki/Video_file_format) extensions
*The list is just a [JSON file](video-extensions.json) and can be used anywhere.*
```sh
npm install video-extensions
```
```js
import videoExtensions from 'video-extensions';
console.log(videoExtensions);
//=> […, 'webm', 'wmv']
```
- [is-video](https://github.com/sindresorhus/is-video) - Check if a filepath is a video file