A record mapping path templates to their associated data types.
A readonly array of keys (e.g., HTTP methods) used to group routes.
Initializes a new Reminist router instance.
A record mapping path templates to their associated data types.
A readonly array of keys (e.g., HTTP methods) used to group routes.
Optionaloptions: ReministOptions<Keys>Configuration options including top-level keys.
Finds a registered route matching the given path.
The literal path string to search for.
An object containing the matched node (if any) and extracted parameters.
Retrieves all registered routes for a specific key or all keys.
Optional key to filter routes.
If key is provided, an array of routes. Otherwise, a record of all keys and their routes.
Retrieves all registered routes for a specific key or all keys.
If key is provided, an array of routes. Otherwise, a record of all keys and their routes.
Reminist - A high-performance, type-safe router based on a Radix Tree.
Supports static routes, dynamic parameters, catch-all, and wildcards with full TypeScript inference for parameters and stored data.