{"adoption": {"forks": 138, "observed_at": "2026-08-28T04:07:06.158832+00:00", "stars": 2633}, "canonical_url": "https://ross.abutalabs.com/products/babel-plugin-macros", "card": {"archived": false, "artifact_type": "library", "description": "🎣 Allows you to build simple compile-time libraries", "domain": ["developer-tools", "web-development", "frontend", "compilers"], "enriched": true, "function": ["compiler", "build-tool", "plugin-system", "developer-tools"], "health_score": 20, "homepage": "https://npm.im/babel-plugin-macros", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["kentcdodds/babel-plugin-macros"], "name": "kentcdodds/babel-plugin-macros", "platform": [], "pushed_at": "2023-05-30T11:04:41+00:00", "repo": "kentcdodds/babel-plugin-macros", "stars": 2633, "tags": ["babel-plugin", "babel-macros", "compile-time-code-transformation", "zero-config", "build-optimization", "nodejs", "javascript"], "topics": ["babel", "babel-plugin", "babel-macros"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/babel-plugin-macros", "repo": "kentcdodds/babel-plugin-macros", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:06.158832+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:19:35.145373+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "32beec67698f209de95dca677d99a07e9772585a4e06a9ddda0d889c60f41ceb", "fetched_at": "2026-08-28T04:07:06.158832+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-macros"}, {"content_hash": "521276d1e052319f819c70fbef38256c49e096cd3fde85b6588756bfb58aac3b", "fetched_at": "2026-08-29T10:02:36.238748+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-macros"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3345, "days_push": 1191, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}