Nerfed Poet Melancholia

    srt-to-vtt

    1.1.3 • Public • Published

    srt-to-vtt

    Transform stream that converts srt files to vtt files. vtt files are used to provide subtitles in html5 video

    npm install srt-to-vtt
    

    build status

    Usage

    var srt2vtt = require('srt-to-vtt')
    var fs = require('fs')
     
    fs.createReadStream('some-subtitle-file.srt')
      .pipe(srt2vtt())
      .pipe(fs.createWriteStream('some-html5-video-subtitle.vtt'))

    Command line usage

    There is also a command line tool available

    npm install -g srt-to-vtt
    srt-to-vtt --help
    

    License

    MIT

    Install

    npm i srt-to-vtt

    DownloadsWeekly Downloads

    1,660

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    6.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • mafintosh