feat: init

This commit is contained in:
2026-02-13 22:02:30 +01:00
commit 8f9ff830fb
16711 changed files with 3307340 additions and 0 deletions

24
node_modules/srvx/dist/static.d.mts generated vendored Normal file
View File

@@ -0,0 +1,24 @@
import { ServerMiddleware } from "./types.mjs";
//#region src/static.d.ts
interface ServeStaticOptions {
/**
* The directory to serve static files from.
*/
dir: string;
/**
* The HTTP methods to allow for serving static files.
*/
methods?: string[];
/**
* A function to modify the HTML content before serving it.
*/
renderHTML?: (ctx: {
request: Request;
html: string;
filename: string;
}) => Response | Promise<Response>;
}
declare const serveStatic: (options: ServeStaticOptions) => ServerMiddleware;
//#endregion
export { ServeStaticOptions, serveStatic };