hlsdownloader 3.2.12 → 3.2.13

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.
Files changed (3) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +7 -6
  3. package/package.json +1 -1
package/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright 2024 Nur Rony
3
+ Copyright 2025 Nur Rony
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
6
6
 
package/README.md CHANGED
@@ -17,6 +17,7 @@
17
17
  [![Version](https://img.shields.io/npm/v/hlsdownloader.svg?style=flat-square)](https://www.npmjs.com/package/hlsdownloader)
18
18
  [![Node](https://img.shields.io/badge/node-%3E%3D18-blue.svg?style=flat-square)](https://www.npmjs.com/package/hlsdownloader)
19
19
  [![CI](https://github.com/nurrony/hlsdownloader/actions/workflows/test.yaml/badge.svg?style=flat-square)](https://github.com/nurrony/hlsdownloader/actions/workflows/test.yaml)
20
+ [![Coverage Status](https://coveralls.io/repos/github/nurrony/hlsdownloader/badge.svg?branch=master)](https://coveralls.io/github/nurrony/hlsdownloader?branch=master)
20
21
  [![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg?style=flat-square)](https://nurrony.github.io/hlsdownloader)
21
22
  [![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg?style=flat-square) ](https://github.com/nurrony/hlsdownloader/graphs/commit-activity)
22
23
  [![License: MIT](https://img.shields.io/github/license/nurrony/hlsdownloader?style=flat-square) ](https://github.com/nurrony/hlsdownloader/blob/master/LICENSE)
@@ -75,14 +76,14 @@ import HLSDownloader from 'hlsdownloader';
75
76
 
76
77
  const options = {
77
78
  playlistURL: 'http://example.com/path/to/your/playlist.m3u8', // change it
78
- destination: '/tmp', // change it (optional: default '')
79
- concurrency: 10, // change it (optional: default = 1),
80
- overwrite: true, // change it (optional: default = false)
81
- // (optional: default = null
79
+ destination: '/tmp', // (optional: default '')
80
+ concurrency: 10, // (optional: default = 1),
81
+ overwrite: true, // (optional: default = false)
82
+ // (optional: default = null)
82
83
  onData: function (data) {
83
84
  console.log(data); // {url: "<url-just-downloaded>", totalItems: "<total-items-to-download>", path: "<absolute-path-of-download-loation>"}
84
85
  },
85
- // (optional: default = null
86
+ // (optional: default = null)
86
87
  onError: function (error) {
87
88
  console.log(error); // { url: "<URLofItem>", name: "<nameOfError>", message: "human readable message of error" }
88
89
  },
@@ -180,5 +181,5 @@ Give a ⭐️ if this project helped you!. I will be grateful if you all help me
180
181
 
181
182
  ## License
182
183
 
183
- Copyright © 2024 [Nur Rony](https://github.com/nurrony).<br />
184
+ Copyright © 2025 [Nur Rony](https://github.com/nurrony).<br />
184
185
  This project is [MIT](https://github.com/nurrony/hlsdownloader/blob/master/LICENSE) licensed.
package/package.json CHANGED
@@ -96,5 +96,5 @@
96
96
  },
97
97
  "snyk": true,
98
98
  "type": "module",
99
- "version": "3.2.12"
99
+ "version": "3.2.13"
100
100
  }