Usage

Read a packaged file.

tsx
// Read a packaged file.
import { fileSystem } from 'kuito';

const seed = await fileSystem.read(fileSystem.bundle + 'seed.json'); // read-only

Signatures

ts
(uri: string): Promise<string>

Parameters

NameTypeRequiredDescription
uristringYes—

Returns

Promise<string>

Generated from the public TypeScript declarations: signatures, props and defaults come from the checked source, descriptions from its JSDoc. No defaults are invented.