Subtitling
A subtitle parser written in TypeScript
# yarnyarn add subtitling # npmnpm i --save subtitling
Subrip
console.logsubtitle.getFirstCue
Output
SubripCue
There are methods for cues, like: getCPS()
, getDuration()
and many others.
Supported formats
- Subrip (.srt)
- WebVTT (.vtt)