Skip to main content
The Deno 2 Release Candidate is here
Learn more
method ImporterUtil.prototype.loadRecursiveAsync
Re-export
import { ImporterUtil } from "https://deno.land/x/sptaki@1.2.0/utils/mod.ts";

Load files into js objects recursively (asynchronous)

Parameters

filepath: string

Path to folder with files

optional
onReadCallback: (fileWithPath: string, data: string) => void
optional
onObjectDeserialized: (fileWithPath: string, object: any) => void

Returns

Promise<T>

Promise return T type associated with this class