m3u8-parsed Install npm i m3u8-parsed Usage const m3u8 = require('m3u8-parsed'); const fs = require('fs'); const parsed = fs.readFileSync('manifest.m3u8', 'utf8'); console.log(m3u8(parsed));