awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
facebook avatar

facebook/prepackArchived

0
View on GitHub↗
prepack.io↗

Prepack

Prepack is a build-time transformation tool and static analysis engine designed to optimize JavaScript source code. By executing code during the build process, it evaluates program logic and state to precompute results, effectively simplifying complex operations before the application is deployed.

The tool functions as a bundle optimizer that integrates into existing development pipelines to refine application logic. It employs abstract interpretation and symbolic execution to track program behavior across various paths, allowing it to perform constant folding, eliminate unreachable code, and simplify subexpressions. By capturing the final heap state and serializing it into optimized source code, the tool reduces the complexity of the resulting bundle.

These capabilities support broader performance engineering goals by minimizing resource consumption and improving execution efficiency in target environments. The project provides a command-line interface for automation and is intended for use within standard module bundling workflows.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Features

  • JavaScript Optimizers and Minifiers - Reduces the size and complexity of JavaScript files during the build process to improve performance.
  • JavaScript Execution Optimizers - Simplifies complex code logic during the build process to ensure faster execution in target environments.
  • Abstract Interpretation Frameworks - Employs abstract interpretation to evaluate program logic and state during the build process.
  • Optimized Serialization Engines - Generates a new program by transforming the computed heap into efficient code through constant folding and subexpression elimination.
  • Constant Folding - Performs constant folding to replace complex expressions with pre-calculated results at build time.
  • Build-Time Interpreters - Executes source code during the build process to determine the final state and effects of the program.
  • Symbolic Execution Engines - Tracks operations on abstract values to evaluate code behavior across all possible environment interactions.
  • Build-Time Transformation Tools - Integrates with module bundlers to perform constant folding and subexpression elimination.
  • Control-Flow Graph Generation - Generates control flow graphs to identify and eliminate unreachable code paths.
  • JavaScript Optimization - Refines application logic through constant folding and loop unrolling to minimize resource consumption.
  • Static Analysis Engines - Evaluates execution paths and abstract values to simplify complex logic before code deployment.
  • Heap State Serializers - Captures the final heap state and serializes it into optimized source code for the target environment.
  • Static Code Analysis - Evaluates JavaScript execution paths at build time to simplify logic before deployment.
  • Build Tools - Tool for optimizing JavaScript code via pre-execution.
14,118 stars·412 forks·JavaScript·16 views

Star history

Star history chart for facebook/prepackStar history chart for facebook/prepack

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

Frequently asked questions

What does facebook/prepack do?

Prepack is a build-time transformation tool and static analysis engine designed to optimize JavaScript source code. By executing code during the build process, it evaluates program logic and state to precompute results, effectively simplifying complex operations before the application is deployed.

What are the main features of facebook/prepack?

The main features of facebook/prepack are: JavaScript Optimizers and Minifiers, JavaScript Execution Optimizers, Abstract Interpretation Frameworks, Optimized Serialization Engines, Constant Folding, Build-Time Interpreters, Symbolic Execution Engines, Build-Time Transformation Tools.

Which projects share features with facebook/prepack?

Projects with overlapping indexed features include: google/closure-compiler-js — Closure Compiler is a JavaScript build utility designed to transform, optimize, and validate source code for… crytic/slither. google/closure-compiler — This project is a JavaScript optimizer, minifier, module bundler, transpiler, and static analysis tool. It provides a… svf-tools/svf — SVF is an open-source static program analysis framework and points-to analysis library that tracks memory references,… angr/angr — Angr is a binary analysis framework and static analysis tool used for reverse engineering compiled binaries. It serves… facebookarchive/prepack — Prepack is a build-time code evaluator and JavaScript bundle optimizer. It functions as a static analysis compiler…

Projects sharing features with Prepack

These projects share indexed features with Prepack. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • google/closure-compiler-jsgoogle avatar

    google/closure-compiler-js

    1,834View on GitHub↗

    Closure Compiler is a JavaScript build utility designed to transform, optimize, and validate source code for production environments. It functions as a minifier and transpiler, converting modern ECMAScript syntax into older, widely compatible versions to ensure reliable execution across diverse browsers. The tool distinguishes itself through a multi-pass optimization pipeline that performs complex refactoring, such as constant folding, function inlining, and variable renaming. It utilizes a static type inference engine to detect potential runtime errors and enforce type safety without requiri

    JavaScript
    View on GitHub↗1,834
  • crytic/slithercrytic avatar

    crytic/slither

    6,141View on GitHub↗
    Pythonethereumsoliditystatic-analysis
    View on GitHub↗6,141
  • google/closure-compilergoogle avatar

    google/closure-compiler

    7,663View on GitHub↗

    This project is a JavaScript optimizer, minifier, module bundler, transpiler, and static analysis tool. It provides a compilation pipeline designed to shrink file sizes and improve runtime performance. The system utilizes a multi-pass compilation process to perform dead code elimination, global name mangling, and static type inference. It identifies unreachable functions and unused variables to reduce the final output size and detects potential runtime errors without executing the code. The tool manages assets through dependency resolution, code chunking, and bundle management. It ensures co

    JavaScript
    View on GitHub↗7,663
  • angr/angrangr avatar

    angr/angr

    8,898View on GitHub↗

    Angr is a binary analysis framework and static analysis tool used for reverse engineering compiled binaries. It serves as a binary decompiler and a lifting platform that translates machine code into a common intermediate representation to enable cross-architecture analysis. The framework integrates a symbolic execution engine and constraint solvers to determine the inputs required to reach specific program states. It also employs untrusted code sandboxing to isolate guest code from the host environment during analysis. Its capabilities cover control flow and data flow analysis, including the

    Python
    View on GitHub↗8,898
Compare all 30 related projects→