kriasoft/universal-router
A simple middleware-style router for isomorphic JavaScript web apps observed · 2026-08-28
Health v2 · maintenance only
62/100
- Activity 63
- Release rhythm 40
- 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: 146
- age_days: 4102
- days_rel: 243
- days_push: 225
- n_releases_24m: 4
Adoption not part of the score
1784 stars · 109 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Universal Router is a small, middleware-style routing library for isomorphic JavaScript applications, usable on both client and server. Routes are plain JavaScript objects with path, action, and children properties, and it works with any framework such as React or Vue.
Use cases
- route urls in a single-page app
- share routing logic between server and client
- add routing to a react or vue app without a framework-specific router
- handle nested routes with middleware-style actions
- render pages server-side based on url path
- build a lightweight spa router with plain object routes
When to choose
- you want a tiny, framework-agnostic router for client and/or server
- you prefer express/koa-style middleware routing
- you need full control over route matching and history handling
When to avoid
- you need a batteries-included router with data loading, code splitting, and scroll restoration built in
- you want deep framework integration like react-router or vue-router provide
Facets
library · maturity stable
routing middleware web-development frontend backend apis browser cross-platform isomorphic universal-router spa ssr path-to-regexp framework-agnostic typescript nodejs web-server
4 sources
- readme: https://github.com/kriasoft/universal-router · fetched 2026-08-28 · e8ac5cad3999
- homepage: https://kriasoft.com/universal-router/ · fetched 2026-08-29 · d4a29af2e7a5
- site_page: https://kriasoft.com/universal-router/getting-started · fetched 2026-08-29 · d1d4a37910c0
- registry_npm: https://registry.npmjs.org/universal-router · fetched 2026-08-29 · 7ab82121c084
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kriasoft/universal-router | main | 62 |
For agents
markdown · JSON · MCP: product_card(name="kriasoft/universal-router")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem