The routing module provides a comprehensive set of components for handling HTTP routing and request processing.
Key components:
This module enables building flexible and type-safe HTTP routing systems with middleware support, method filtering, and structured request handling.
import { m, Router } from "@taxum/core/routing";const router = new Router() .route("/", m.get(() => "Hello World!")); Copy
import { m, Router } from "@taxum/core/routing";const router = new Router() .route("/", m.get(() => "Hello World!"));
The routing module provides a comprehensive set of components for handling HTTP routing and request processing.
Key components:
This module enables building flexible and type-safe HTTP routing systems with middleware support, method filtering, and structured request handling.
Example