gradum-kit - v0.1.0
    Preparing search index...

    Function urlToBlob

    • Function

      urlToBlob

      Parameters

      • url: string

        The URL to fetch.

      Returns Promise<Blob>

      The fetched content.

      Fetch a URL and hand back its content as a blob. Works with data: URLs as well as remote ones, making it the inverse of blobToUrl.