IPULL
Simple CLI to pull files from the internet super fast!
npx ipull http://example.com/file.txt
Features
- Download using multiple connections
- Smart retry on fail
- Resuming after fails
CLI
Usage: ipull [options] [files...]
Pull/copy files from remote server/local directory
Arguments:
files Files to pull/copy
Options:
-V, --version output the version number
-s --save [path] Save directory
-f --full-name Show full name of the file while downloading, even if it long
-h, --help display help for command
Commands:
set [options] [path] <value> Set download locations
Set custom save directory
You can set a custom save directory by using the set
command.
ipull set .zip ~/Downloads/zips
(use default
to set the default save directory)
NodeJS API
class CLIPullProgress {
constructor(progress: IStreamProgress, name: string) {
}
startPull(): Promise<void> {
}
}
interface IStreamProgress {
init(): Promise<void>;
progress(callback: (progressBytes: number, totalBytes: number) => void): Promise<any>;
}
class FastDownload implements IStreamProgress {
constructor(url: string, savePath: string, options?: TurboDownloaderOptions) {
}
}
class CopyProgress implements IStreamProgress {
constructor(fromPath: string, toPath: string) {
}
}
Credits
Turbo-Downloader - The download engine used in this package