Skip to main content
getAssetAsBlob - node__sea.d.ts - Node documentation
function getAssetAsBlob

Usage in Deno

```typescript import { getAssetAsBlob } from "node:node__sea.d.ts"; ```
getAssetAsBlob(
key: AssetKey,
options?: { type: string; },
): Blob
> [!WARNING] Deno compatibility > This symbol is not supported. Similar to `sea.getAsset()`, but returns the result in a [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob). An error is thrown when no matching asset can be found.

Parameters

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

Return Type

Blob