dasha 3.1.4 → 4.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,14 +12,13 @@ Library for parsing MPEG-DASH (.mpd) and HLS (.m3u8) manifests. Made with the pu
12
12
  npm i dasha
13
13
  ```
14
14
 
15
- ## Quick start
15
+ ## Usage
16
16
 
17
17
  ```js
18
18
  import fs from 'node:fs/promises';
19
19
  import { parse } from 'dasha';
20
20
 
21
- const url =
22
- 'https://dash.akamaized.net/dash264/TestCases/1a/sony/SNE_DASH_SD_CASE1A_REVISED.mpd';
21
+ const url = 'https://dash.akamaized.net/dash264/TestCases/1a/sony/SNE_DASH_SD_CASE1A_REVISED.mpd';
23
22
  const body = await fetch(url).then((res) => res.text());
24
23
  const manifest = await parse(body, url);
25
24
 
@@ -30,3 +29,11 @@ for (const track of manifest.tracks.all) {
30
29
  }
31
30
  }
32
31
  ```
32
+
33
+ ## Credits
34
+
35
+ This project is heavily influenced by the robust implementation found in [N_m3u8DL-RE](https://github.com/nilaoda/N_m3u8DL-RE). Special thanks to the open-source community and contributors who make projects like this possible.
36
+
37
+ ## Licenses
38
+
39
+ This project is licensed under the [MIT License](LICENSE).