Prepack logo


A tool for making JavaScript code run faster (by Facebook)
+ 1

What is Prepack?

Prepack is a partial evaluator for JavaScript. Prepack rewrites a JavaScript bundle, resulting in JavaScript code that executes more efficiently. For initialization-heavy code, Prepack works best in an environment where JavaScript parsing is effectively cached.
Prepack is a tool in the Javascript Utilities & Libraries category of a tech stack.
Prepack is an open source tool with GitHub stars and GitHub forks. Here’s a link to Prepack's open source repository on GitHub

Who uses Prepack?


29 developers on StackShare have stated that they use Prepack.

Prepack Integrations

Pros of Prepack
Available as NPM
Gulp package available
Easy setup but has a very limited range of use cases

Prepack Alternatives & Comparisons

What are some alternatives to Prepack?
A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows to load parts for the application on demand. Through "loaders" modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
Closure Compiler
The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.
JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles.
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
GitHub is the best place to share code with friends, co-workers, classmates, and complete strangers. Over three million people use GitHub to build amazing things together.
See all alternatives

Prepack's Followers
75 developers follow Prepack to keep up with related blogs and decisions.