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

Load files into js objects recursively (synchronous)

Parameters

filepath: string

Path to folder with files

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