@thi.ng/server
Version:
Minimal HTTP server with declarative routing, static file serving and freely extensible via pre/post interceptors
6 lines • 413 B
TypeScript
import type { IncomingMessage } from "node:http";
export declare const parseSearchParams: (params: URLSearchParams) => any;
export declare const parseQuerystring: (url: string) => Record<string, any>;
export declare const parseRequestFormData: (req: IncomingMessage) => Promise<Record<string, any>>;
export declare const parseFormData: (body: string) => Record<string, any>;
//# sourceMappingURL=formdata.d.ts.map