Utility for easy file downloading: fast, lightweight, cross-platform and flexible.
A file download utility written in JavaScript with minimal dependencies. It can be used both as a command line interface and as a library for use in third-party Node.js projects.
Download and install Node.js. Run app:
npx molnia [options] url1 [url2] [url...]
Example:
npx molnia --output C:\Users\John\Downloads\10Mb.dat https://proof.ovh.net/files/10Mb.dat
Install package using NPM:
npm i molnia
Use in your project:
import { download } from 'molnia';
const options = { output: `C:\Users\John\Downloads\10Mb.dat` };
await download('https://proof.ovh.net/files/10Mb.dat', options);
- Concurrency: chunk download queue with size limitations
- Retry in case of request failure
- Proxy support
- Multiple protocols support: HTTP, HTTPS
- Minimal dependencies and reduced code size
- Command-line interface