railsware/js-routes
Some data may be outdated — see provenance labels.
Brings Rails named routes to javascript observed · 2026-09-26
Health v2 · maintenance only
80/100
- Activity 80
- Release rhythm 70
- Longevity 100
Flags: no_readme
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 58
- age_days: 5557
- days_rel: 121
- days_push: 121
- n_releases_24m: 6
Adoption not part of the score
1702 stars · 158 forks observed · 2026-09-26
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-09-26 · 8612ac56da82
- homepage: http://railsware.github.io/js-routes/ · fetched 2026-08-29 · 144601a233ce
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| railsware/js-routes | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="railsware/js-routes")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem