• Download a file from a given URL as text

    Parameters

    • url: string

      URL of the file to download as text

    • Optional options: RequestInit

      Additional fetch-configuration to apply during the download

    Returns Promise<string>

    Returns a promise with the downloaded text as a string

Generated using TypeDoc