awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
facebook avatar

facebook/prepackArchived

0
View on GitHub↗
14,118 estrellas·412 forks·JavaScript·4 vistasprepack.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.

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.

Historial de estrellas

Gráfico del historial de estrellas de facebook/prepackGráfico del historial de estrellas de facebook/prepack

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace facebook/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.

¿Cuáles son las características principales de facebook/prepack?

Las características principales de facebook/prepack son: 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.

¿Qué alternativas de código abierto existen para facebook/prepack?

Las alternativas de código abierto para facebook/prepack incluyen: 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… 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… golang/tools — This project is a collection of official toolsets and server implementations designed for the parsing, formatting, and…

Alternativas open-source a Prepack

Proyectos open-source similares, clasificados según cuántas características comparten con Prepack.
  • google/closure-compiler-jsAvatar de google

    google/closure-compiler-js

    1,834Ver en 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
    Ver en GitHub↗1,834
  • crytic/slitherAvatar de crytic

    crytic/slither

    6,141Ver en GitHub↗
    Pythonethereumsoliditystatic-analysis
    Ver en GitHub↗6,141
  • google/closure-compilerAvatar de google

    google/closure-compiler

    7,663Ver en 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
    Ver en GitHub↗7,663
  • angr/angrAvatar de angr

    angr/angr

    8,898Ver en 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
    Ver en GitHub↗8,898
Ver las 30 alternativas a Prepack→