# millermedeiros/crossroads.js

JavaScript Routes

Repository: https://github.com/millermedeiros/crossroads.js
Canonical: https://ross.abutalabs.com/products/crossroadsjs
Homepage: http://millermedeiros.github.com/crossroads.js/
Language: JavaScript
License Family: other
Last push: 2023-09-13T12:48:28+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5621, "days_push": 1085, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1437, forks 152 (observed 2026-08-28T04:04:43.818549+00:00)

## What it is
Crossroads.js is a JavaScript URL routing library inspired by route/dispatch utilities in frameworks like Rails and Django. It parses string input and dispatches actions by matching against multiple route patterns.

## Use cases
- route urls to handlers in a single-page app
- match string patterns and dispatch actions in javascript
- decouple navigation logic from components
- implement hash-based routing without a full framework
- parse url paths with optional parameters

## When to choose
- you need a lightweight standalone router without adopting a full framework
- you want pattern-based string dispatching in node or the browser
- you're maintaining a legacy SPA that already uses it

## When to avoid
- you're starting a modern project where framework routers or newer libraries are better maintained
- you need server-side routing with full HTTP semantics
- you require active community support or recent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: routing, middleware
- domain: web-development, frontend, developer-tools
- platform: browser, cross-platform
- tags: url-routing, javascript, pattern-matching, hash-routing, spa, nodejs

## Member repositories
- millermedeiros/crossroads.js (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:43.818549+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:36:44.595400+00:00, confidence not recorded.
  - readme: https://github.com/millermedeiros/crossroads.js (fetched 2026-08-28T04:04:43.818549+00:00, sha 11443cf8c864)
- Data as of 2026-08-30T08:39:29.467469+00:00.
