untube 2.3.0 → 2.4.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
@@ -1,16 +1,36 @@
1
1
  # untube
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/untube.svg)](https://www.npmjs.com/package/untube)
4
+ [![npm downloads](https://img.shields.io/npm/dm/untube.svg)](https://www.npmjs.com/package/untube)
5
+ [![node version](https://img.shields.io/node/v/untube.svg)](https://nodejs.org)
6
+ [![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue.svg)](https://www.typescriptlang.org/)
7
+ [![Socket Badge](https://socket.dev/api/badge/npm/package/untube)](https://socket.dev/npm/package/untube)
4
8
  [![License](https://img.shields.io/npm/l/untube.svg)](LICENSE)
5
9
 
6
10
  A lightweight, extremely fast YouTube video downloader and metadata scraper for Node.js. Ported from the core extraction logic of [yt-dlp](https://github.com/yt-dlp/yt-dlp).
7
11
 
8
12
  ## Installation
9
13
 
14
+ **npm**
10
15
  ```bash
11
16
  npm install untube
12
17
  ```
13
18
 
19
+ **pnpm**
20
+ ```bash
21
+ pnpm add untube
22
+ ```
23
+
24
+ **yarn**
25
+ ```bash
26
+ yarn add untube
27
+ ```
28
+
29
+ **bun**
30
+ ```bash
31
+ bun add untube
32
+ ```
33
+
14
34
  ## Quick Start (Downloading Videos)
15
35
 
16
36
  `untube` provides a readable stream that you can pipe anywhere (e.g., to a file, to `fluent-ffmpeg`, or an HTTP response).
@@ -133,7 +153,7 @@ const sorted = untube.sortFormats(info.formats);
133
153
 
134
154
  ## YouTube Music Search
135
155
 
136
- You can search for songs, albums, and videos directly from YouTube Music using `untube.ytmusic()`:
156
+ You can search for songs directly from YouTube Music using `untube.ytmusic()`:
137
157
 
138
158
  ```typescript
139
159
  import untube from 'untube';
@@ -1 +1 @@
1
- {"version":3,"file":"solver-bundle.d.ts","sourceRoot":"","sources":["../src/solver-bundle.ts"],"names":[],"mappings":"AA2DA,QAAA,IAAI,GAAG;;;CA2Wa,CAAC;AAGrB,eAAe,GAAG,CAAC"}
1
+ {"version":3,"file":"solver-bundle.d.ts","sourceRoot":"","sources":["../src/solver-bundle.ts"],"names":[],"mappings":"AAUA,QAAA,IAAI,GAAG;;;CA2Wa,CAAC;AAGrB,eAAe,GAAG,CAAC"}