Skip to content
Projekte

Über uns

🚦 Type-safe routing for Svelte SPAs

Entwicklerwerkzeuge

So werden diese Zahlen gemessen

What you can do

  • 🔒 Type-safe navigation: Catch broken links before you ship.
  • 🗂️ File-based routing (optional): DX of a meta-framework-like approach.
  • 🪶 Lightweight: ~ 5kB gzipped.
  • ⚡ Performance: Built-in code splitting and preloading.

Gemessener Sternzuwachs

in 24h
0
in 7 days
-2
in 15 days
Verlauf wird gesammelt
in 1 month
Verlauf wird gesammelt

Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.

README.md

Original

sv-router

npm downloads size codecov

Flexible, ergonomic, and complete Svelte 5 router.

Documentation • Getting Started • Reference


Features

  • 🔒 Type-safe navigation: Catch broken links before you ship.
  • 🗂️ File-based routing (optional): DX of a meta-framework-like approach.
  • 🪶 Lightweight: ~ 5kB gzipped.
  • ⚡ Performance: Built-in code splitting and preloading.
  • 🔍 Reactive search params: For simpler state management in the URL.
  • 🌿 Nested routes: Share layouts across pages.
  • 🛡️ Hooks: For navigation guards, data loading, or analytics tracking.
  • #️⃣ Hash-based routing: Works inside Electron/Tauri.

Getting Started

Kickstart a new project:

npm create sv-router

...or add it to an existing project:

npm install sv-router

License

MIT © Colin Lienard

Ähnliche Projekte entdecken

Wird geladen…