is-subtitle
v1.0.0
Published
Check if a filepath is a subtitle file
Downloads
18
Maintainers
Readme
is-subtitle
Check if a filepath is a subtitle file
Install
$ npm install --save is-subtitle
Usage
var isSubtitle = require('is-subtitle');
isSubtitle('/src/toast.srt');
//=> true
isSubtitle('/src/toast.mp4');
//=> false
Related
- subtitle-extensions - List of subtitle extensions
License
MIT