Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
<div align="center">
<h1>⚡️ ZapDL</h1>
<p><strong>A lightning-fast, multi-threaded downloader CLI tool</strong></p>
<p>
<a href="#installation">Installation</a> •
<a href="#usage">Usage</a> •
<a href="#features">Features</a> •
<a href="#examples">Examples</a> •
<a href="#advanced-usage">Advanced Usage</a> •
<a href="#contributing">Contributing</a> •
<a href="#license">License</a>
</p>
</div>
<hr>
## 🚀 Installation
Install ZapDL globally using npm:
```bash
npm install -g zapdl
Basic usage:
zapdl <URL>
With options:
zapdl <URL> [options]
Option | Description | Default |
---|---|---|
-o <filename> | Specify output filename | Detected from URL |
-t <number> | Number of download threads | 4 |
-r <number> | Number of retries for failed chunks | 3 |
-c <number> | Number of simultaneous connections | 2 |
--debug , -d | Enable debug mode (optional: true/false) | false |
zapdl https://example.com/largefile.zip
zapdl https://example.com/largefile.zip -t 8 -c 4
zapdl https://example.com/video.mp4 -o myvideo.mp4 --debug
zapdl https://example.com/largefile.zip -o myfile.zip -t 6 -c 6 -r 5 -d true
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));
Contributions, issues, and feature requests are welcome! Feel free to check issues page.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Distributed under the MIT License. See LICENSE
for more information.
These changes update both the CLI interface and the README to use the new parameter format:
- `-o` for output filename
- `-t` for number of threads
- `-r` for number of retries
- `-c` for number of connections
- `--debug` or `-d` for debug mode, with an optional true/false value
The README has been updated to reflect these changes in the Options table and in the Examples section. This new format should provide a more standard CLI experience for users while maintaining all the functionality of the original version.
FAQs
A fast multi-threaded downloader CLI tool
We found that zapdl demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.