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

x/fileserver/src/server.ts>server

A file-server command.
Latest
function server
import { server } from "https://deno.land/x/fileserver@1.1.19/src/server.ts";

Parameters

unnamed 0: { directory: string; port: number; host: string; cert?: string; key?: string; cache: boolean; lifetime: number; cors: boolean; indexing: boolean; indexes: string[]; ejs: boolean; typescript: boolean; logging: boolean; debug: boolean; colors: boolean; }