facebookarchive/prepack
A JavaScript bundle optimizer. observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: archived no_license
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: 3962
- days_rel: n/a
- days_push: 1664
- n_releases_24m: 0
Adoption not part of the score
14109 stars · 412 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Prepack is a partial evaluator for JavaScript that rewrites bundles by executing computations at compile time and replacing global code with equivalent sequences of assignments. It ships as an npm CLI and Node.js API, with community plugins for Webpack, Rollup, and Parcel.
Use cases
- optimize a javascript bundle to run faster
- precompute initialization-heavy code at build time
- eliminate abstraction overhead in javascript modules
- evaluate module initialization ahead of runtime
- fold constant computations like fibonacci into literals
- prepack a bundle with source maps
When to choose
- you have initialization-heavy JavaScript where startup cost dominates
- you want to experiment with partial evaluation of JS bundles
- you need a research-grade compile-time evaluator for JavaScript
When to avoid
- you need a maintained tool - the project is archived and development was set down by Facebook
- you need production-ready optimization for modern toolchains
- your code depends heavily on runtime environment or non-deterministic values like Date.now or Math.random
Facets
cli-tool · maturity abandoned
compiler build-tool developer-tools web-development frontend developer-tools performance cli cross-platform partial-evaluation javascript-optimizer bundle-optimization precompilation facebook archived nodejs
4 sources
- readme: https://github.com/facebookarchive/prepack · fetched 2026-08-28 · b6f7d947f192
- homepage: http://prepack.io · fetched 2026-08-29 · f0fcad06b5fc
- site_page: https://prepack.io/getting-started.html · fetched 2026-08-29 · 16c968703cb5
- site_page: https://prepack.io/frequently-asked-questions.html · fetched 2026-08-29 · 962ce917d07e
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| facebookarchive/prepack | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="facebookarchive/prepack")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem