Socket
Socket
Sign inDemoInstall

blackhole-dl

Package Overview
Dependencies
146
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    blackhole-dl

A CLI for downloading files from BlackHole


Version published
Weekly downloads
5
increased by150%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

blackhole-dl

npm CI Status dependencies Status devDependencies Status

A CLI for downloading files from BlackHole

Usage

Install blackhole-dl by running:

yarn global add blackhole-dl

Then, run the CLI, passing it the URL to a file:

blackhole-dl 'https://app.blackhole.run/#55913751ec1EX5YjX7bjY71n8z3sZZaaacGZ26LahXN4'

blackhole-dl uses Chrome to open the URL and download the file.

Also, we provide a JavaScript API for writing your own scripts:

import download from 'blackhole-dl'

async function run() {
  const events = download('https://app.blackhole.run/#55913751ec1EX5YjX7bjY71n8z3sZZaaacGZ26LahXN4')
  for await (const {fileName, progress} of events) {
    console.log(fileName, progress)
  }
}
run()

FAQs

Last updated on 12 Jul 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc