1.1.2 • Published 3 years ago

blackhole-dl v1.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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()
1.1.1

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago