Skip to content
Projets

À propos

🚦 Type-safe routing for Svelte SPAs

Outils de développement

Comment ces chiffres sont mesurés

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.

Progression mesurée des étoiles

in 24h
0
in 7 days
-1
in 15 days
-1
in 1 month
Historique en cours

Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.

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

Explorer des projets similaires

Chargement…