I know how to transform .srt file format to webvtt format in javascript , I want to know how to do the same with .ass & .ssa subtitles files formats to be able to parse them and transform to webvtt format on the fly without using file stream using javascript .
After a deep search I found what I asked for in an underrated Github repo online named subsrt, can be found here for whoever encounters the same request or similar. it transforms between the following subtitles formats :
MicroDVD SUB (.sub), SubRip (.srt), SubViewer (.sbv), WebVTT (.vtt), SubStation Alpha (.ssa and .ass), SAMI (.smi) aka Synchronized Accessible Media Interchange, LRC (.lrc) aka LyRiCs, JSON (.json)