rails/importmap-rails
Use ESM with importmap to manage modern JavaScript in Rails without transpiling or bundling. observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 61
- Release rhythm 53
- Longevity 100
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: 39.5
- age_days: 1862
- days_rel: 238
- days_push: 238
- n_releases_24m: 7
Adoption not part of the score
1168 stars · 123 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Rails gem that manages modern JavaScript via browser-native import maps, letting you use ESM modules with logical names without transpiling or bundling. It eliminates the need for Webpack, Yarn, or npm by pinning JavaScript dependencies through the Rails asset pipeline.
Use cases
- manage javascript dependencies in rails without node
- use es modules with importmap in rails
- replace webpacker with import maps
- pin npm packages in rails asset pipeline
- avoid javascript bundling and transpiling
- improve js caching with small files over http/2
When to choose
- you're building a Rails 7+ app with modern browsers and want a simple JS setup
- you want to drop the entire Node.js toolchain from your Rails project
- you value better cache granularity with many small JS files
When to avoid
- you need to support legacy browsers without native importmap support
- you rely on JSX/TypeScript or other syntax requiring transpilation
- you need complex bundling optimizations like tree-shaking or code splitting
Facets
library · maturity stable
build-tool package-manager developer-tools frontend-framework web-development frontend developer-tools ruby browser importmap esm rails no-bundling javascript-assets asset-pipeline web-server
1 source
- readme: https://github.com/rails/importmap-rails · fetched 2026-08-28 · 508e61973a9a
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rails/importmap-rails | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="rails/importmap-rails")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem