test-downloader

1.0.5 • Public • Published

trs-media-downloader

trs-media-downloader is a powerful and easy-to-use Node.js library for downloading media from multiple social media platforms including Facebook, YouTube, TikTok, Instagram, Twitter, CapCut, Pinterest, and Likee.

Built and maintained by ARIFUL ISLAM ASIF.


Features

  • Download videos from Facebook, YouTube, TikTok, Instagram, Twitter, Pinterest, CapCut, and Likee
  • Unified and simple interface
  • Structured response with media info and developer attribution
  • Lightweight with minimal dependencies

Installation

npm install trs-media-downloader


---

Usage

const {
  rebelaldwn,
  rebelfbdown,
  rebelinstadl,
  rebeltiktokdl,
  rebeltwitter,
  rebelyt,
  rebelpindl,
  rebelcapcutdl,
  rebellikeedl
} = require('trs-media-downloader');

const url = 'https://www.facebook.com/share/v/1KjXx1N6NF/';

(async () => {
  try {
    const data = await rebelaldwn(url);
    console.log(data);
  } catch (err) {
    console.error('Download failed:', err.message);
  }
})();


---

Supported Platforms & Functions


---

Response Format

Each function returns a structured JSON object with the following:

{
  "developer": {
    "name": "ARIFUL ISLAM ASIF",
    "facebook": "https://facebook.com/the-rebel-a4if-v4u",
    "whatsapp": "https://wa.me/your-number"
  },
  "platform": "facebook",
  "title": "Sample Video Title",
  "thumbnail": "https://example.com/thumb.jpg",
  "video": {
    "hd": "https://example.com/video_hd.mp4",
    "sd": "https://example.com/video_sd.mp4"
  },
  "audio": "https://example.com/audio.mp3"
}

Note: Some fields may vary depending on the platform and media type.


---

Configuration

You can customize the API base URL in package.json:

"config": {
  "baseUrl": "https://backend1.tioo.eu.org"
}


---

Scripts

To run the test script:

npm test


---

Author

ARIFUL ISLAM ASIF

GitHub: @THE-REBEL-A4IF-V4U

Facebook: The Rebel A4IF




---

License

MIT


---

Package Sidebar

Install

npm i test-downloader

Weekly Downloads

842

Version

1.0.5

License

MIT

Unpacked Size

57.4 kB

Total Files

7

Last publish

Collaborators

  • fca-traarifvau-api