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.

4 lines (3 loc) 324 B
import type { ServerRequest } from '@chubbyts/chubbyts-undici-server/dist/server'; export type GenerateUrl = (serverRequest: ServerRequest, name: string, attributes?: Record<string, string>, query?: string) => string; export type GeneratePath = (name: string, attributes?: Record<string, string>, query?: string) => string;