Type alias GotDownloaderOptions

GotDownloaderOptions: GotOptions & {
    isStream?: true;
} & {
    getProgressCallback?: ((progress) => Promise<void>);
    quiet?: boolean;
}

Options for the default got Downloader implementation.

Type declaration

  • Optional isStream?: true

Type declaration

  • Optional getProgressCallback?: ((progress) => Promise<void>)

    if defined, triggers every time got's `downloadProgress`` event callback is triggered.

      • (progress): Promise<void>
      • Parameters

        Returns Promise<void>

  • Optional quiet?: boolean

    if true, disables the console progress bar (setting the ELECTRON_GET_NO_PROGRESS environment variable to a non-empty value also does this).

See

got#options for possible keys/values.