@talosjs/youtube 1.0.0 → 1.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.
Files changed (2) hide show
  1. package/README.md +5 -41
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -1,24 +1,6 @@
1
1
  # @talosjs/youtube
2
2
 
3
- YouTube video downloader and metadata extraction library for fetching video information, thumbnails, and media streams.
4
-
5
- ![Bun](https://img.shields.io/badge/Bun-Compatible-orange?style=flat-square&logo=bun)
6
- ![TypeScript](https://img.shields.io/badge/TypeScript-Ready-blue?style=flat-square&logo=typescript)
7
- ![MIT License](https://img.shields.io/badge/License-MIT-yellow?style=flat-square)
8
-
9
- ## Features
10
-
11
- ✅ **Transcript Fetching** - Retrieve timestamped transcripts and video metadata via `Youtube#transcript`
12
-
13
- ✅ **ytdlp Integration** - Type definitions for ytdlp-nodejs including video/audio quality, format options, and download progress
14
-
15
- ✅ **Quality Types** - `YoutubeVideoQualityType` (144p to 2160p) and `YoutubeAudioQualityType` for stream selection
16
-
17
- ✅ **Error Handling** - Custom `YoutubeException` for YouTube-specific error scenarios
18
-
19
- ✅ **Type-Safe** - Full TypeScript support with `IYoutube` interface and re-exported ytdlp types
20
-
21
- > For URL helpers like `getId`, `getEmbedUrl`, and `getWatchUrl`, see [`@talosjs/youtube-utils`](../youtube-utils).
3
+ YouTube video downloader and metadata extraction library for fetching video information, thumbnails, and media streams
22
4
 
23
5
  ## Installation
24
6
 
@@ -26,28 +8,10 @@ YouTube video downloader and metadata extraction library for fetching video info
26
8
  bun add @talosjs/youtube
27
9
  ```
28
10
 
29
- ## License
30
-
31
- This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.
32
-
33
- ## Contributing
34
-
35
- Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
11
+ ## Documentation
36
12
 
37
- ### Development Setup
13
+ Read the full documentation at [docs.talosjs.com](https://docs.talosjs.com).
38
14
 
39
- 1. Clone the repository
40
- 2. Install dependencies: `bun install`
41
- 3. Run tests: `bun run test`
42
- 4. Build the project: `bun run build`
43
-
44
- ### Guidelines
45
-
46
- - Write tests for new features
47
- - Follow the existing code style
48
- - Update documentation for API changes
49
- - Ensure all tests pass before submitting PR
50
-
51
- ---
15
+ ## License
52
16
 
53
- Made with ❤️ by the Talos team
17
+ MIT
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@talosjs/youtube",
3
3
  "description": "YouTube video downloader and metadata extraction library for fetching video information, thumbnails, and media streams",
4
- "version": "1.0.0",
4
+ "version": "1.1.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist",
@@ -24,12 +24,12 @@
24
24
  "scripts": {
25
25
  "test": "bun test tests",
26
26
  "build": "bunup",
27
- "lint": "tsgo --noEmit && bunx biome lint",
28
- "npm:publish": "bun publish --tolerate-republish --force --production --access public"
27
+ "fmt": "bunx biome check --write",
28
+ "lint": "tsgo --noEmit && bunx biome lint"
29
29
  },
30
30
  "dependencies": {
31
- "@talosjs/exception": "^1.2.10",
32
- "@talosjs/http-status": "^1.1.11",
31
+ "@talosjs/exception": "^1.1.1",
32
+ "@talosjs/http-status": "^1.1.1",
33
33
  "ytdlp-nodejs": "^2.3.5"
34
34
  },
35
35
  "keywords": [