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-screen@docugen/aws-lambda-libreoffice@paxperscientiam/generate-phaser3-filepackjsaq-common-uiinstall-issub-downloadersubtitler-clitv-formatter-lib@attyou/firebase-libreoffice@alchemistenag/aws-lambda-libreoffice@dhyasama/aws-lambda-libreoffice@envuso/core@kleros/react-componentsreact-fluid-galleryplexifyrip-subtitlessindresorhus.jsgit-ssimageinaryaqxy-common-uicw-common-uicx-common-uicz-common-uiaws-lambda-logallery-servergallery-server-modgc-common-ui@shelf/aws-lambda-libreoffice@tadasauciunas/aws-lambda-libreoffice
2.0.0

2 years ago

1.0.1

10 years ago

1.0.0

10 years ago

contact@npm.io