New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@vioo/apis

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vioo/apis

One module for all API, scraper, and others

1.3.8
npm
Version published
Weekly downloads
304
-62.09%
Maintainers
1
Weekly downloads
 
Created
Source

@vioo/apis

@vioo/apis adalah modul Node.js untuk meng-upload file ke berbagai layanan penyimpanan sementara, seperti Catbox, Uguu, TheOKS, Litterbox, CloudMini, dan TempFiles. Cocok buat yang butuh tempat upload file cepat tanpa ribet. Selain itu kamu dapat men-download vidio atau audio dari media yang tersedia seperti YouTube, Facebook, Instagram dan lain-lain!

🔧 Instalasi

Cukup install modul ini dengan cara:

npm install @vioo/apis

🚀 Cara Penggunaan

Pertama, import dulu modulnya di kode kamu:

const { catbox, uguu, theoks, litterbox, cloudmini, tempfiles } = require('@vioo/apis')  
  
async function uploadFile(filePath) {
  console.log('Catbox:', await catbox(filePath))
  console.log('Uguu:', await uguu(filePath))
  console.log('TheOKS:', await theoks(filePath))
  console.log('Litterbox:', await litterbox(filePath))
  console.log('CloudMini:', await cloudmini(filePath))
  console.log('TempFiles:', await tempfiles(filePath))
}

const file_path = './file.jpg' // Sesuaikan 
uploadFile(file_path).catch(console.error)

📌 Fitur

Setiap fungsi menerima satu parameter berupa path file, lalu meng-upload ke layanan terkait dan mengembalikan URL hasil upload.

catbox(path)
=> Upload ke Catbox 📂 File tersimpan permanen
🔥 Bisa buat file besar

—————————————————————————————

uguu(path)
=> Upload ke Uguu ⏳ File dihapus setelah 24 jam
📦 Maksimal 100MB

—————————————————————————————

theoks(path)
=> Upload ke TheOKS 📂 File tersimpan permanen

—————————————————————————————

litterbox(path)
=> Upload ke Litterbox ⏳ File bertahan 1 jam, cocok buat file sementara

—————————————————————————————

cloudmini(path)
=> Upload ke CloudMini 🚀 Penyimpanan jangka panjang

—————————————————————————————

tempfiles(path)
=> Upload ke TempFiles ⏳ Penyimpanan sementara
📦 Maksimal 512MB

🔥 Fungsi lainnya:

const { ytdlv1, ytdlv2, fbdl, igdl, ttdl, ttslide, gdrive } = require('@vioo/apis')

Kualitas video: 144, 240, 360, 480, 720, 1080
Kualitas audio: 32, 64, 128, 192, 256, 320

YOUTUBE V1

Video:

ytdlv1("URL", "mp4", 1080) // Untuk vidio

Audio:

ytdlv1("URL", "mp3", 320) // Untuk audio

YOUTUBE V2

Video:

ytdlv1("URL", "mp4", 1080) // Untuk vidio

Audio:

ytdlv1("URL", "mp3", 320) // Untuk audio

⚡ Penggunaan lainnya:

namaFungsi("URL") // Cukup memasukkan URL di dalam kurung dan string lalu akan muncul respon nya

Ingin melihat fungsi lainnya? Kamu bisa langsung require saja! Bantuan: https://wa.me/6289654057716

© Sanjaya (Vioo)

Keywords

api

FAQs

Package last updated on 28 Feb 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts