ItalyPaleAle/svelte-spa-router
Router for SPAs using Svelte observed · 2026-08-28
Health v2 · maintenance only
96/100
- Activity 99
- Release rhythm 90
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 21.0
- age_days: 2669
- days_rel: 69
- days_push: 10
- n_releases_24m: 5
Adoption not part of the score
1606 stars · 104 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
svelte-spa-router is a hash-based router library for Svelte 5 single-page applications with a minimal footprint. It supports route parameters, regular expression routes, active links, programmatic navigation, and code splitting via dynamic imports.
Use cases
- add client-side routing to a Svelte SPA
- route without needing server-side URL rewriting
- handle route parameters like /book/:id in a Svelte app
- lazy-load route components for code splitting
- highlight active navigation links
- build a fully static SPA hosted on any static file server
When to choose
- building a static single-page app with Svelte 5 where SEO is not a concern
- you want hash-based routing that works without any backend server
- you need a tiny, simple router with route params, regex routes, and code splitting
When to avoid
- you need SEO-friendly clean URLs with the HTML5 history API
- your app is server-rendered (SSR) or uses SvelteKit's built-in routing
- you are not using Svelte
Facets
library · maturity stable
routing frontend-framework web-development frontend developer-tools browser cross-platform svelte spa hash-routing router single-page-app nodejs
10 sources
- readme: https://github.com/ItalyPaleAle/svelte-spa-router · fetched 2026-08-28 · 0e0423fa3812
- homepage: https://svelte-spa-router.italypaleale.me · fetched 2026-08-29 · 26c726ddd53c
- site_page: https://svelte-spa-router.italypaleale.me/docs · fetched 2026-08-29 · 0ac2f4647d46
- site_page: https://svelte-spa-router.italypaleale.me/docs/getting-started · fetched 2026-08-29 · 4e8fbe63f2dc
- site_page: https://svelte-spa-router.italypaleale.me/docs/navigation · fetched 2026-08-29 · 12325a3542ff
- site_page: https://svelte-spa-router.italypaleale.me/docs/route-parameters · fetched 2026-08-29 · da44ef63e0e9
- site_page: https://svelte-spa-router.italypaleale.me/docs/active-links · fetched 2026-08-29 · dcc3f1fa1c59
- site_page: https://svelte-spa-router.italypaleale.me/docs/regular-expression-routes · fetched 2026-08-29 · 3462e370f5b6
- site_page: https://svelte-spa-router.italypaleale.me/docs/code-splitting · fetched 2026-08-29 · b117ef29a96d
- registry_npm: https://registry.npmjs.org/svelte-spa-router · fetched 2026-08-29 · 715e722e885f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ItalyPaleAle/svelte-spa-router | main | 96 |
For agents
markdown · JSON · MCP: product_card(name="ItalyPaleAle/svelte-spa-router")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem