0.0.2 • Published 10 years ago

srt2vtt2 v0.0.2

Weekly downloads
4
License
ISC
Repository
github
Last release
10 years ago

srt2vtt converter

Converts .srt subtitles into vtt format

## How to use it:

var srt2vtt = require("srt2vtt2")

var subtitles = "./test/subtitles.srt"

srt2vtt(subtitles, function(err, result){
    if(err) console.log("Error happened :(")
    console.log(JSON.stringify(result))
})

Installation

With npm:

NPM

Kudos

Kudos for the original authors of this module, the PopcornTime.io developers.