🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@onepunya/doods-warp

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onepunya/doods-warp

doodstream downloader

latest
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

doods-wrapper

A nodejs wrapper for doods service

Usage

import doods from "module-name";
import { createReadStream } from "fs";

// Axios options
const opts = { responseType: "stream" };
const dod = await doods("https://doods.pro/d/3jauj7g67kga", opts);

if (dod.error) {
  console.error(danil);
  return;
}

// write the file to disk
dod.download().then((res) => {
  res.data.pipe(createReadStream("danil-hot.mp4"));
});

FAQs

Package last updated on 10 May 2024

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