railsware/js-routes
Brings Rails named routes to javascript observed · 2026-08-28
Health v2 · maintenance only
87/100
- Activity 88
- Release rhythm 77
- 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: 58
- age_days: 5509
- days_rel: 73
- days_push: 73
- n_releases_24m: 6
Adoption not part of the score
1698 stars · 158 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem that generates a JavaScript (and TypeScript definition) file exposing all Rails named routes as callable helper functions. It lets frontend code build Rails URLs without duplicating route logic.
Use cases
- generate URLs in JavaScript from Rails routes
- share Rails route helpers with a JS frontend
- avoid hardcoding API paths in JavaScript
- get TypeScript autocompletion for Rails routes
- keep JS route links in sync with Rails routing config
When to choose
- you have a Rails app with a JavaScript frontend that needs named route URLs
- you want route definitions to stay in sync automatically between Rails and JS
- you want typed route helpers via generated .d.ts files
When to avoid
- your project does not use Ruby on Rails
- your frontend is fully decoupled from Rails and consumes only a fixed API
- you rely on legacy Sprockets setups without migration plans
Facets
library · maturity active
routing templating developer-tools web-development backend frontend developer-tools ruby rails ruby-gem url-helpers typescript-definitions webpacker sprockets nodejs web-server
2 sources
- readme: https://github.com/railsware/js-routes · fetched 2026-08-28 · 8612ac56da82
- homepage: http://railsware.github.io/js-routes/ · fetched 2026-08-29 · 144601a233ce
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| railsware/js-routes | main | 87 |
For agents
markdown · JSON · MCP: product_card(name="railsware/js-routes")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem