Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zapdl-beta

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zapdl-beta

A fast multi-threaded downloader CLI tool

  • 1.0.1-beta.0
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

⚡️ ZapDL

A lightning-fast, multi-threaded downloader CLI tool

InstallationUsageFeaturesExamplesAdvanced UsageContributingLicense


🚀 Installation

Install ZapDL globally using npm:

npm install -g zapdl

🎯 Usage

Basic usage:

zapdl <URL>

With options:

zapdl <URL> [options]

Options

OptionDescriptionDefault
-o <filename>Specify output filenameDetected from URL
-t <number>Number of download threads4
-r <number>Number of retries for failed chunks3
-c <number>Number of simultaneous connections2
--debug, -dEnable debug mode (optional: true/false)false

✨ Features

  • 🚄 Multi-threaded downloads: Significantly faster than single-threaded downloaders
  • 🔁 Auto-retry: Automatically retries failed chunks
  • 🔌 Connection control: Manage the number of simultaneous connections
  • 📊 Real-time progress: View download progress, speed, and ETA in real-time
  • 🔍 Debug mode: Detailed logging for troubleshooting
  • 📁 Auto filename detection: Automatically detects filename from URL or headers

💡 Examples

  1. Basic download:
zapdl https://example.com/largefile.zip
  1. Download with 8 threads and 4 connections:
zapdl https://example.com/largefile.zip -t 8 -c 4
  1. Download with custom filename and debug mode:
zapdl https://example.com/video.mp4 -o myvideo.mp4 --debug
  1. Download with all options specified:
zapdl https://example.com/largefile.zip -o myfile.zip -t 6 -c 6 -r 5 -d true

🔧 Advanced Usage

As a Node.js module

You can also use ZapDL programmatically in your Node.js projects:

const createDownloader = require('zapdl');

const downloader = createDownloader();
downloader.setDebug(true);

downloader.downloadFile(
  'https://example.com/largefile.zip',
  'output.zip',
  8,  // threads
  3,  // retries
  4   // connections
)
.then(() => console.log('Download complete!'))
.catch(err => console.error('Download failed:', err));

🤝 Contributing

Contributions, issues, and feature requests are welcome! Feel free to check issues page.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📜 License

Distributed under the MIT License. See LICENSE for more information.

🙏 Acknowledgements

Keywords

FAQs

Package last updated on 03 Nov 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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc