untube 2.1.0 → 2.1.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 +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -82,12 +82,12 @@ untube('videoId', { format: 'highestaudio' });
|
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
### `mode` (Streaming Behavior)
|
|
85
|
-
By default, `untube` uses **parallel** downloading to
|
|
85
|
+
By default, `untube` uses **parallel** downloading to maximize speed.
|
|
86
86
|
|
|
87
87
|
| Mode | Characteristics | Best for |
|
|
88
88
|
| :--- | :--- | :--- |
|
|
89
|
-
| `'parallel'` (Default) | Incredibly fast. Downloads chunks concurrently into a temp file and streams the result. Emits `progress` events. | Downloading files,
|
|
90
|
-
| `'sequential'` | Pure RAM streaming.
|
|
89
|
+
| `'parallel'` (Default) | Incredibly fast. Downloads chunks concurrently into a temp file and streams the result. Emits `progress` events. | Downloading large files, maximum throughput. |
|
|
90
|
+
| `'sequential'` | Pure RAM streaming. Instant start-up. No temp files used. | Real-time audio playback, Discord bots. |
|
|
91
91
|
|
|
92
92
|
```typescript
|
|
93
93
|
// Use sequential mode for instant start-up time
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "untube",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "Lightweight YouTube video metadata and streaming URL extractor for Node.js. Features automatic signature decryption (n-parameter), proxy support, and cookie management. Ported from yt-dlp.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"youtube",
|