UNPKG

@allurereport/static-server

Version:

Minimalistic web-server for serving static files

6 lines (5 loc) 376 B
export declare const EXTENSIONS_BY_TYPE: Record<string, string>; export declare const TYPES_BY_EXTENSION: Record<string, string>; export declare const identity: <T>(value?: T) => T | undefined; export declare const injectLiveReloadScript: (html: string) => string; export declare function resolveUrlPathnameUnderServeRoot(rootDir: string, urlPathname: string): string | null;