UNPKG

relysjs

Version:

Reactive Web app server focusing on MPAs with a simple server route & browser build api...uses Bunjs, Elysia, ESBuild, rmemo, & ctx-core

8 lines (7 loc) 269 B
import type { Elysia } from 'elysia' export declare function static_middleware_( config?:static_middleware__config_T ):Promise<Elysia> export type static_middleware__config_T = { headers_?:(url_path:string, content_type:string, path:string)=>Record<string, string> }