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

x/aleph/server/helpers.ts>getFiles

The Full-stack Framework in Deno.
Go to Latest
function getFiles
import { getFiles } from "https://deno.land/x/aleph@1.0.0-beta.23/server/helpers.ts";

Get files in the directory.

Parameters

dir: string
optional
filter: (filename: string) => boolean
optional
__path: string[] = [UNSUPPORTED]

Returns

Promise<string[]>