{"id":15083841,"url":"https://github.com/j3lte/ytdl-wrapper","last_synced_at":"2026-01-04T04:06:13.592Z","repository":{"id":255728679,"uuid":"853489210","full_name":"j3lte/ytdl-wrapper","owner":"j3lte","description":"A simple module that wraps yt-dlp in a Deno package","archived":false,"fork":false,"pushed_at":"2024-09-06T21:57:50.000Z","size":39,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T08:35:50.341Z","etag":null,"topics":["bun","deno","nodejs","yt-dlp","ytdl"],"latest_commit_sha":null,"homepage":"https://jsr.io/@j3lte/ytdl-wrapper","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/j3lte.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-06T18:58:31.000Z","updated_at":"2025-01-06T23:09:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"bfd4a699-fd83-4a07-a964-176c1c153cdf","html_url":"https://github.com/j3lte/ytdl-wrapper","commit_stats":null,"previous_names":["j3lte/ytdl-wrapper"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3lte%2Fytdl-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3lte%2Fytdl-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3lte%2Fytdl-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/j3lte%2Fytdl-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/j3lte","download_url":"https://codeload.github.com/j3lte/ytdl-wrapper/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243941490,"owners_count":20372248,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bun","deno","nodejs","yt-dlp","ytdl"],"created_at":"2024-09-25T06:33:49.244Z","updated_at":"2026-01-04T04:06:13.500Z","avatar_url":"https://github.com/j3lte.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @j3lte/ytdl-wrapper\n\n[![JSR](https://jsr.io/badges/@j3lte/ytdl-wrapper)](https://jsr.io/@j3lte/ytdl-wrapper)\n[![GitHub Release](https://img.shields.io/github/v/release/j3lte/ytdl-wrapper)](https://github.com/j3lte/ytdl-wrapper/releases/latest)\n\n## Overview\n\nThis is a simple module that wraps **[yt-dlp](https://github.com/yt-dlp/yt-dlp)**\n\n## Basic Usage\n\n```typescript\nimport { YTDLWrapper } from \"@j3lte/ytdl-wrapper\";\n\nconst ytdl = new YTDLWrapper();\n\n// Get media info\nconst mediaInfo = await ytdl.getMediaInfo(\"https://www.youtube.com/watch?v=...\");\n\n// Download media\nytDlp\n  .exec([\"https://www.youtube.com/watch?v=....\", \"-o\", \"/output/%(title)s.%(ext)s\"])\n  .on(\"progress\", (progress) =\u003e {\n    console.log(\"[PROGRESS]\", progress.percent);\n  })\n  .on(\"event\", (eventType, eventData) =\u003e {\n    console.log(\"[EVENT]\", eventType, eventData);\n  })\n  .on(\"close\", (code) =\u003e {\n    console.log(\"Process closed with code: \" + code);\n  })\n  .on(\"error\", (err) =\u003e {\n    console.log(\"ERROR\", err);\n  });\n```\n\n## License\n\n[MIT License](./LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3lte%2Fytdl-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fj3lte%2Fytdl-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fj3lte%2Fytdl-wrapper/lists"}