Skip to content
Proyectos

Acerca de

🚦 Type-safe routing for Svelte SPAs

Herramientas de desarrollo

Cómo se miden estas cifras

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.

Crecimiento de estrellas medido

in 24h
0
in 7 days
-1
in 15 days
-1
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

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

Explorar proyectos relacionados

Cargando…