1.1.4 ā¢ Published 2 years ago
hydr v1.1.4
hydr
š² download files faster using multiple http requests, just like hydra!
installation
cli
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 .
module
to use this module in your project
npm install hydr
# or: yarn add hydr
usage
cli
- 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>