Package Exports
- @soymaycol/maytube
- @soymaycol/maytube/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 (@soymaycol/maytube) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
╰┈➤ MAYTUBE
📥 Módulo minimalista y potente para descargar fácilmente audio y video de YouTube en tus proyectos Node.js.
📦 Instalación
npm install @soymaycol/maytube
🧩 Métodos disponibles
yta(url)
→ Devuelve Un Json del audio (formato MP3)ytv(url)
→ Devuelve Un Json del video (formato MP4)
🧪 Ejemplo de código
import { yta, ytv } from '@soymaycol/maytube';
const res = await yta('https://youtu.be/dQw4w9WgXcQ');
o tambien puede ser
import MayTube from '@soymaycol/maytube';
const res = await MayTube.ytv('https://youtu.be/dQw4w9WgXcQ');
Hecho con (◍•ᴗ•◍)❤ por @SoyMaycol
Sígueme para más módulos mágicos ✨