JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 34
  • Score
    100M100P100Q62260F
  • License MIT

YouTube video downloader and metadata extraction library for fetching video information, thumbnails, and media streams

Package Exports

  • @ooneex/youtube
  • @ooneex/youtube/package.json

Readme

@ooneex/youtube

YouTube video downloader and metadata extraction library for fetching video information, thumbnails, and media streams.

Bun TypeScript MIT License

Features

Transcript Fetching - Retrieve timestamped transcripts and video metadata via Youtube#transcript

ytdlp Integration - Type definitions for ytdlp-nodejs including video/audio quality, format options, and download progress

Quality Types - YoutubeVideoQualityType (144p to 2160p) and YoutubeAudioQualityType for stream selection

Error Handling - Custom YoutubeException for YouTube-specific error scenarios

Type-Safe - Full TypeScript support with IYoutube interface and re-exported ytdlp types

For URL helpers like getId, getEmbedUrl, and getWatchUrl, see @ooneex/youtube-utils.

Installation

bun add @ooneex/youtube

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contributing

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.

Development Setup

  1. Clone the repository
  2. Install dependencies: bun install
  3. Run tests: bun run test
  4. Build the project: bun run build

Guidelines

  • Write tests for new features
  • Follow the existing code style
  • Update documentation for API changes
  • Ensure all tests pass before submitting PR

Made with ❤️ by the Ooneex team