🐲 download files faster using multiple http requests, just like hydra!
install globally from npm registery
npm install -g hydr
or clone this repository & build manually
git clone https://github.com/maythiwat/hydr.git
cd hydr
npm run build .
npm install -g .
to use this module in your project
npm install hydr
# or: yarn add hydr
- help (--help) - show help
hydr --help
- version (--version) - show version number
hydr --version
- chunks (-c, --chunks) - number of split chunks
hydr -c <number of chunk>
- delay (-d, --delay) - add delay per chunks (in ms) [default = 100]
hydr -d <time in ms>
- timeout (-t, --timeout) - timeout per chunks download (in ms, 0 = forever) [default = 0]
hydr -t <time in ms>
- retry (-r, --retry) - max retries on chunks download timeout
hydr -r <amount>
- outFile (-o, --outfile) - save output file name
hydr -o <filename.extension>