UNPKG

@chubbyts/chubbyts-framework

Version:

A minimal, highly performant middleware PSR-15 inspired function based microframework 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) 321 B
import type { Query, ServerRequest } from '@chubbyts/chubbyts-http-types/dist/message'; export type GenerateUrl = (request: ServerRequest, name: string, attributes?: Record<string, string>, query?: Query) => string; export type GeneratePath = (name: string, attributes?: Record<string, string>, query?: Query) => string;