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

kentcdodds/babel-plugin-macros

🎣 Allows you to build simple compile-time libraries observed · 2026-08-28

github.com/kentcdodds/babel-plugin-macros · 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: 3345
  • days_rel: n/a
  • days_push: 1191
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

2633 stars · 138 forks observed · 2026-08-28

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

babel-plugin-macros defines a standard interface for Babel macros, letting libraries perform compile-time code transformations without users needing to configure individual Babel plugins. It is widely used by libraries like css-in-js tools to shift runtime work to build time.

Use cases

  • run compile-time code transformations without configuring individual babel plugins
  • optimize css-in-js libraries by generating class names at build time
  • build a zero-config compile-time library for javascript
  • reduce client bundle size by moving work from runtime to build time
  • support macros in a create-react-app project without changing babel config

When to choose

  • you maintain a library that benefits from compile-time code transformation
  • you want users to get build-time optimizations with zero babel configuration
  • you are using a boilerplate like create-react-app that already includes babel-plugin-macros

When to avoid

  • you need language-level syntax transforms that require dedicated babel plugins
  • your project does not use babel or a bundler with babel support
  • you need runtime-only transformations

Facets

library · maturity maintenance

compiler build-tool plugin-system developer-tools developer-tools web-development frontend compilers babel-plugin babel-macros compile-time-code-transformation zero-config build-optimization nodejs javascript

2 sources

Member repositories

RepositoryRoleHealth v2
kentcdodds/babel-plugin-macrosmain23

For agents

markdown · JSON · MCP: product_card(name="kentcdodds/babel-plugin-macros")

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