is-video-web

2.0.1 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.0.1
    9
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.0.1
    9
  • 2.0.0
    0
  • 1.0.0
    177

Package Sidebar

Install

npm i is-video-web

Weekly Downloads

186

Version

2.0.1

License

MIT

Unpacked Size

2.67 kB

Total Files

4

Last publish

Collaborators

  • bobbyg603