UNPKG

eve

Version:

Filesystem-first framework for durable backend AI agents that run anywhere.

13 lines (12 loc) 365 B
/** * Loads and parses a JSON file, returning the parsed value. * * Paths resolve relative to the application root directory (current working * directory). Pass an absolute path to load it directly. * * @example * ```ts * const data = await loadJson("evals/data/cases.json"); * ``` */ export declare function loadJson(filePath: string): Promise<unknown>;