srt2vtt2

0.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i srt2vtt2

Weekly Downloads

0

Version

0.0.2

License

ISC

Last publish

Collaborators

  • guerrerocarlos