1.1.4 • Published 5 years ago

vtt-2-json v1.1.4

Weekly downloads
62
License
MIT
Repository
github
Last release
5 years ago

vtt-2-json

Convert WebVTT file to JSON

Install

$ npm install --save vtt-2-json

Usage

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

let vttString = '...';

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

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-2-json")

let vttString = '...';

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

License

MIT © Kim

1.1.4

5 years ago

1.1.1

5 years ago

1.1.3

5 years ago

1.1.2

5 years ago

1.1.0

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago