Skip to content

Commit

Permalink
docs: parallelStreams
Browse files Browse the repository at this point in the history
  • Loading branch information
ido-pluto committed Mar 13, 2024
1 parent f533176 commit 037121b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ import {downloadFile} from 'ipull';
const downloader = await downloadFile({
url: 'https://example.com/file.large',
directory: './this/path',
cliProgress: true // Show progress bar in the CLI (default: false)
cliProgress: true, // Show progress bar in the CLI (default: false)
parallelStreams: 3 // Number of parallel connections (default: 3)
});

await downloader.download();
Expand Down

0 comments on commit 037121b

Please sign in to comment.