UNPKG

@chubbyts/chubbyts-framework

Version:

A minimal, highly performant middleware PSR-15 inspired function based micro framework built with as little complexity as possible, aimed primarily at those developers who want to understand all the vendors they use.

11 lines (10 loc) 392 B
import { type Handler } from '@chubbyts/chubbyts-undici-server/dist/server'; /** * ```ts * import type { Handler } from '@chubbyts/chubbyts-undici-server/dist/server'; * import { createRouteHandler } from '@chubbyts/chubbyts-framework/dist/handler/route-handler'; * * const routeHandler: Handler = createRouteHandler(); * ``` */ export declare const createRouteHandler: () => Handler;