Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function parsePlaylist(file) { const content = readFile(file) const result = parser.parse(content) return result }
A basic IPTV playlist parser