@electron/get
    Preparing search index...

    Class FetchDownloader

    Default Downloader implemented with the built-in Fetch API.

    Implements

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Download an artifact from an arbitrary URL to a file path on system

      Parameters

      • url: string

        URL of the file to download

      • targetFilePath: string

        Filesystem path to download the artifact to (including the file name)

      • options: FetchDownloaderOptions = {}

        Options to pass to the downloader

      Returns Promise<void>