Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/oasis/packages/fileloader/mod.ts>loadDirs

An object oriented Discordeno framework
Latest
function loadDirs
import { loadDirs } from "https://deno.land/x/oasis@2.1.0/packages/fileloader/mod.ts";

performs the load() async function and returns an array with an item for every iteration

Parameters

root: string
dirs: string[]

Returns

Promise<T[]>