vtt-to-json
Convert WebVTT file to JSON
Install
$ npm install --save vtt-to-json
Usage
const vttToJson = let vttString = '...'; ;
Test
$ npm test
API
vttToJson(vttString)
What does this method do?
Name | Type | Description |
---|---|---|
vttString | String |
A string representing the vtt you want to convert. |
returns Promise
that passed the vtt json value.
const vttToJson = let vttString = '...'; ;
License
MIT © Joe Gesualdo