Optional
defaultDefault file extension to use if none is specified in the file object. If none is specified here either, the extension will be inferred from the url, if possible. If not possible, the extension will be '.unknown'.
Optional
emitterOptionally pass an EventEmitter to receive events:
If emitter is passed, errors (not failed downlaods) are emitted instead of thrown.
The URLs and file-extensions of the files to download.
Optional
ext?: stringOptional
noWhether to prefix the downloaded files with a zero-padded index. If the filename cannot be derived from the URO, the filename will be a timestamp integer.
Optional
outdirThe output directory to download files to. Defaults to the user's OS 'Downloads' directory.
Optional
queueOptions for the internal PromiseQueue.
Optional
wipeWhether to wipe the output directory before downloading. This option is ignored if outdir is not specified.
Generated using TypeDoc
Options for
See
downloadFiles