{"adoption": {"forks": 48, "observed_at": "2026-08-28T04:04:30.419130+00:00", "stars": 1363}, "canonical_url": "https://ross.abutalabs.com/products/babel-plugin-preval", "card": {"archived": false, "artifact_type": "plugin", "description": "🐣 Pre-evaluate code at build-time", "domain": ["developer-tools", "web-development", "frontend"], "enriched": true, "function": ["compiler", "build-tool", "developer-tools"], "health_score": 20, "homepage": "https://npm.im/babel-plugin-preval", "language": "TypeScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["kentcdodds/babel-plugin-preval"], "name": "kentcdodds/babel-plugin-preval", "platform": [], "pushed_at": "2022-02-02T22:07:10+00:00", "repo": "kentcdodds/babel-plugin-preval", "stars": 1363, "tags": ["babel-plugin", "build-time-evaluation", "precompile", "babel-plugin-macros", "nodejs", "javascript"], "topics": [], "urls": [], "use_cases": ["inline file contents into a bundle at build time", "run node code during compilation instead of runtime", "read the filesystem in browser-targeted code", "precompute constants at build time", "evaluate code with babel-plugin-macros"], "what_it_is": "A Babel plugin that pre-evaluates JavaScript code at build time, replacing expressions with their computed results. It lets you run Node.js code (like filesystem reads) during compilation and inline the exported value into your bundle.", "when_to_avoid": ["your build does not use Babel", "the evaluated code depends on runtime state", "you need evaluation in non-JavaScript toolchains like Vite or esbuild without Babel"], "when_to_choose": []}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/babel-plugin-preval", "repo": "kentcdodds/babel-plugin-preval", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "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:04:30.419130+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:30.419130+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:41:25.198093+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "6c7cc50956fcffc9313200121d65de5abd9c2ad047fff19c07437f94bfe5c03c", "fetched_at": "2026-08-28T04:04:30.419130+00:00", "kind": "readme", "missing": false, "url": "https://github.com/kentcdodds/babel-plugin-preval"}, {"content_hash": "e7f6df0440009cf12ce96db7985371ed06303ded9ea926878b39d4996bd6966d", "fetched_at": "2026-08-29T11:59:11.037368+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/babel-plugin-preval"}], "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": 3346, "days_push": 1673, "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}}