npm.io
2.0.0 • Published 2 years ago

is-video v2.0.0

Weekly downloads
3,108
License
MIT
Repository
github
Last release
2 years ago

is-video

Check if a file path is a video file

It just checks the extension.

Install

npm install is-video

Usage

import isVideo from 'is-video';

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

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

Related

  • video-extensions - List of video file extensions
extensionsextensionfilepathcheckdetectisvideomoviemovavimp4mkv
video-extensions
@infinitebrahmanuniverse/nolb-is-v@everything-registry/sub-chunk-1935wikipedia-ttssubdownloadervideo-screenjsaq-common-uiinstall-isimageinaryaqxy-common-uisub-downloadersubtitler-clitv-formatter-libreact-fluid-galleryplexifyrip-subtitlessindresorhus.jsgit-ss@paxperscientiam/generate-phaser3-filepackgallery-servergallery-server-modgc-common-ui@shelf/aws-lambda-libreoffice@tadasauciunas/aws-lambda-libreofficecw-common-uicx-common-uicz-common-uiaws-lambda-lo@attyou/firebase-libreoffice@alchemistenag/aws-lambda-libreoffice@dhyasama/aws-lambda-libreoffice@docugen/aws-lambda-libreoffice@kleros/react-components@envuso/core
2.0.0

2 years ago

1.0.1

10 years ago

1.0.0

10 years ago

contact@npm.io