Skip to main content
getAssetAsBlob - sea - Node documentation
function getAssetAsBlob

Usage in Deno

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

Deno compatibility

This symbol is not supported.

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
Back to top