method IStorage.get
IStorage.get(path: string): Promise<Uint8Array>

Retrieves an object.

Parameters

path: string

Object path/key

Return Type

Promise<Uint8Array>

The object bytes

Throws

Error

If the object does not exist

Usage

import { type IStorage } from "common/src/index.ts";