getAssetAsBlob - Node documentation
function getAssetAsBlob

Usage in Deno

import { getAssetAsBlob } from "node:sea";
getAssetAsBlob(
key: AssetKey,
options?: { type: string; },
): Blob

Similar to sea.getAsset(), but returns the result in a Blob. An error is thrown when no matching asset can be found.

Parameters

key: AssetKey
optional
options: { type: string; }

Return Type

Blob