Skip to main content
Module

x/texa/src/middleware/static.ts>Static.getEntries

A Deno web framework inspired by Oak and Express. Built-in support for WebSockets, middleware and routing.
Latest
method Static.getEntries
import { Static } from "https://deno.land/x/texa@0.8.1/src/middleware/static.ts";

Get the entries of a directory.

Parameters

dir: string

The directory path.

Returns

Promise<{ size?: number; name: string; }[]>