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

x/ayonli_jsext/http/internal.ts>renderDirectoryPage

A JavaScript extension package for building strong and modern applications.
Latest
function renderDirectoryPage
import { renderDirectoryPage } from "https://deno.land/x/ayonli_jsext@v0.9.72/http/internal.ts";

Renders a directory listing page for the pathname with the given entries.

Parameters

pathname: string
entries: DirEntry[]
optional
extraHeaders: HeadersInit = [UNSUPPORTED]