---
import Link from "astro-typesafe-routes/link";
---

<Link to=""
  About
</Link>

Typesafe Routing for Astro Projects

Enhance your Astro development experience with rigorous type safety for every route in your application. This integration automatically generates TypeScript definitions from your project's route structure.

Installation Usage

Quick Start

npx astro add astro-typesafe-routes

Features

🔒 Typesafe
Ensures all URLs match a route in your Astro project.
🔗 Link Component
Replace your anchor links with the typesafe Link component.
🔎 Typesafe Search Params
Support for typesafe and JSON serialized search params.
🤸 Zero Dependencies
No 3rd-party packages.