wget-node-cli
v1.0.1
Published
wget cli in node
Readme
Node-Wget
A lightweight wget-like CLI tool built with Node.js, supporting file downloads with progress display.
🚀 Features
- Download files from the internet using a single command.
- Show live progress bar during downloads.
- Support custom output file name (
-Ooption). - Simple and extensible foundation for more
wgetfeatures.
📦 Installation
Install globally from npm:
npm install -g wget-node-cliThis makes the wget command available system-wide.
To uninstall:
npm uninstall -g wget-node-cli🔧 Usage
Download a File
wget <url>Download with Custom Filename
wget <url> -O <filename>🖼 Example
Download Ferrari splash page image:
wget https://carconfigurator.ferrari.com/rt-assets/data/cars/296gtb/ui/splashpage.jpg -O car.jpgOutput:
Downloading https://carconfigurator.ferrari.com/rt-assets/data/cars/296gtb/ui/splashpage.jpg
Saving to car.jpg
Downloading [===================>---] 85% | 123456/145678 bytes
Download completed!🛠 Roadmap
- [ ] Resume downloads (
--continue) - [ ] Retry on failure (
--tries) - [ ] Set headers & user-agent (
--header,--user-agent) - [ ] Recursive downloads (
--recursive) - [ ] Timeout control (
--timeout) - [ ] FTP support
📜 License
MIT License.
