• Download a file from a given URL as JSON

    Parameters

    • url: string

      URL of the file to download as JSON

    • Optional options: RequestInit

      Additional fetch-configuration to apply during the download

    Returns Promise<any>

    Returns a promise with the downloaded JSON as an object

Generated using TypeDoc