Fetches JSON from URL with options

  • Parameters

    • url: string

      URL to fetch from

    • opts: FetchOpts = {}

      Fetch options

    Returns Promise<any>

    Promise of parsed JSON response