visionmedia/page.js
Micro client-side router inspired by the Express router observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5256
- days_rel: n/a
- days_push: 1163
- n_releases_24m: 0
Adoption not part of the score
7678 stars · 682 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
page.js is a tiny Express-inspired client-side router for single-page applications, supporting route parameters, middleware chains, and the HTML5 History API. It is framework-agnostic and can be loaded via npm, CDN, or ES modules.
Use cases
- add client-side routing to a single-page app
- define routes with URL parameters like /user/:id
- chain middleware-style callbacks on route handlers
- handle 404 routes in a SPA
- build a router without pulling in a full framework
When to choose
- you want a minimal, dependency-free router for a vanilla JS or framework-agnostic SPA
- you prefer Express-style route definitions and middleware chaining
- you need a tiny router loadable via CDN or script tag
When to avoid
- you are using React, Vue, or Angular and want a router integrated with the framework's ecosystem
- you need server-side rendering or file-based routing
- you need a project with active development and guaranteed long-term maintenance
Facets
library · maturity maintenance
routing middleware web-framework web-development frontend developer-tools browser client-side-router spa express-inspired history-api micro-library nodejs javascript
2 sources
- readme: https://github.com/visionmedia/page.js · fetched 2026-08-28 · 29b1992d9a06
- registry_npm: https://registry.npmjs.org/page.js · fetched 2026-08-29 · 23cecc152922
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| visionmedia/page.js | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="visionmedia/page.js")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem