2.0.1 • Published 9 months ago

is-video-web v2.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

is-video

Check if a filepath is a video file

Install

$ npm install --save is-video

Usage

var isVideo = require('is-video');

isVideo('src/unicorn.mp4');
//=> true

isVideo('src/unicorn.txt');
//=> false

Related

License

MIT © Sindre Sorhus