dasha
TypeScript icon, indicating that this package has built-in type declarations

3.0.3 • Public • Published

dasha

npm version npm downloads/month npm downloads

Library for parsing MPEG-DASH and HLS manifests. Made with the purpose of obtaining a simplified representation convenient for further downloading of segments.

Install

npm i dasha

Quick start

import { parse } from 'dasha';

const url = 'https://dash.akamaized.net/dash264/TestCases/1a/sony/SNE_DASH_SD_CASE1A_REVISED.mpd';
const body = await fetch(url).then((res) => res.text());
const manifest = await parse(body, url);

Package Sidebar

Install

npm i dasha

Weekly Downloads

29

Version

3.0.3

License

AGPL-3.0

Unpacked Size

82.8 kB

Total Files

13

Last publish

Collaborators

  • vitalygashkov