• Turn a Blob into a base64-encoded data URL.

    Returns

    The data URL.

    Parameters

    • blob: Blob

      the blob to serialise.

    • config: GlobalConfig = {}

      Optional environment configuration.

    Returns Promise<string>