This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const fs = require('fs'); | |
| /* Read a Microsoft Teams JSON file and convert it to a SRT file, using the fields: startOffset, endOffset and text */ | |
| // Usage: node convert.js <input.json> <output.srt> | |
| /*example JSON file: | |
| { | |
| "$schema": "http://stream.office.com/schemas/transcript.json", | |
| "version": "1.0.0", |