JSPM

catxyt

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

    🎧 Simple YouTube MP3/MP4 downloader and search API

    Package Exports

    • catxyt
    • catxyt/index.js

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (catxyt) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    🎧 catx-yt

    Simple Express + yt-dlp YouTube MP3/MP4 Downloader and Search API.

    🔧 Install

    npm install catx-yt

    🚀 Usage

    const { startCatXYT } = require('catx-yt');
    startCatXYT(3002);

    🔍 Endpoints

    • /mp3?q=QUERY — Download MP3 by search
    • /mp3?url=YOUTUBE_URL — Download MP3 by URL
    • /mp4?q=QUERY — Download MP4 by search
    • /mp4?url=YOUTUBE_URL — Download MP4 by URL
    • /search?q=QUERY — Search YouTube

    📌 Notes

    • Requires yt-dlp installed globally:
    pip install -U yt-dlp

    👤 Author

    Mueid Mursalin Rifat