mtrpcic/pathjs
Simple, lightweight routing for web browsers observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases 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: 5684
- days_rel: n/a
- days_push: 3475
- n_releases_24m: 0
Adoption not part of the score
1095 stars · 175 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PathJS is a lightweight, dependency-free JavaScript library for client-side routing in single page applications, supporting both hashbang routes and HTML5 pushState. It offers parameterized and dynamic routes, root routes, rescue methods, and enter callbacks with graceful degradation across older browsers.
Use cases
- build a single page application with hash-based routing
- handle client-side routes without a heavy framework
- use HTML5 pushState routing in vanilla JavaScript
- define parameterized routes like #/users/:id
- add a fallback rescue route for unmatched URLs
- run route enter callbacks for page transitions
When to choose
- you need a tiny, framework-agnostic client-side router for a simple SPA
- you must support legacy browsers with graceful degradation
- you want hashbang or pushState routing without any dependencies
When to avoid
- you are using a modern framework like React, Vue, or Angular that ships its own router
- you need actively maintained software with a license file and recent releases
- you need server-side routing or SSR
Facets
library · maturity abandoned
routing web-framework web-development frontend browser client-side-routing single-page-applications hashbang pushstate vanilla-javascript
2 sources
- readme: https://github.com/mtrpcic/pathjs · fetched 2026-08-28 · 3e5ee7afcd39
- registry_npm: https://registry.npmjs.org/pathjs · fetched 2026-08-29 · 39fb9fecdf3d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mtrpcic/pathjs | main | 32 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem