vtj

vtt-to-json

Convert WebVTT file to JSON

Showing:

Popularity

Downloads/wk

664

GitHub Stars

21

Maintenance

Last Commit

5yrs ago

Contributors

0

Package

Dependencies

0

Size (min+gzip)

0.8KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

vtt-to-json Build Status

Convert WebVTT file to JSON

Install

$ npm install --save vtt-to-json

Usage

const vttToJson = require("vtt-to-json")

let vttString = '...';

vttToJson(vttString)
.then((result) => {
  console.log(result)
});

Test

$ npm test

API

vttToJson(vttString)

What does this method do?

NameTypeDescription
vttStringStringA string representing the vtt you want to convert.

returns Promise that passed the vtt json value.

const vttToJson = require("vtt-to-json")

let vttString = '...';

vttToJson(vttString)
.then((result) => {
  console.log(result)
});

License

MIT © Joe Gesualdo

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100