Ross ROSS = Recommend OSS · open-source software intelligence for agents

entwicklerstube/babel-plugin-root-import

Add the opportunity to import modules by the root path observed · 2026-08-28

github.com/entwicklerstube/babel-plugin-root-import · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • 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: n/a
  • age_days: 4044
  • days_rel: n/a
  • days_push: 1370
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1169 stars · 74 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Babel plugin that lets you import and require modules using root-based paths (like ~/some/file.js) instead of long relative paths. It rewrites these paths at build time and supports configurable prefixes and multiple path rules.

Use cases

  • avoid ../../../ relative import chains in JavaScript projects
  • configure custom import aliases like ~/ for src directory
  • use root-based imports in React Native with Babel
  • support multiple path prefixes for different source folders
  • make imports resilient to file moves in a Babel-based build

When to choose

  • your project already uses Babel and you want root-based imports without a bundler alias
  • you need multiple custom prefixes mapped to different directories
  • you are on React Native where Babel config is the main place to set path aliases

When to avoid

  • your bundler (webpack, Vite, TypeScript paths) already resolves aliases without Babel
  • you are not using Babel in your build pipeline
  • you need a maintained solution - the last release was 2022

Facets

plugin · maturity maintenance

build-tool developer-tools developer-tools web-development frontend babel-plugin module-resolution import-paths es6-modules nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
entwicklerstube/babel-plugin-root-importmain23

For agents

markdown · JSON · MCP: product_card(name="entwicklerstube/babel-plugin-root-import")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem