Software Alternatives & Reviews

Prepack VS Terser

Compare Prepack VS Terser and see what are their differences

Prepack logo Prepack

Prepack is a partial evaluator for JavaScript.

Terser logo Terser

JavaScript parser, mangler, optimizer and beautifier toolkit for ES6+
  • Prepack Landing page
    Landing page //
    2019-09-02
  • Terser Landing page
    Landing page //
    2023-09-25

Prepack videos

Prepack : Clif Bar Review! ALL FLAVORS in ONE VIDEO!*

More videos:

  • Review - sativa prepack shake review

Terser videos

No Terser videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to Prepack and Terser)
Code Analysis
100 100%
0% 0
Web Application Bundler
0 0%
100% 100
Code Review
100 100%
0% 0
Tool
0 0%
100% 100

User comments

Share your experience with using Prepack and Terser. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Terser should be more popular than Prepack. It has been mentiond 13 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Prepack mentions (4)

  • LLRT: A low-latency JavaScript runtime from AWS
    If I understand it correctly, it exchanges execution speed (by not using JIT) for faster starts. Instead, they could pick up the old FB project https://prepack.io/ to optimize both start AND execution speed. It would be very interesting to see it together with node's snapshots: https://blog.logrocket.com/snapshot-flags-node-js-v18-8/, which reduces the start significantly. - Source: Hacker News / 2 months ago
  • [AskJS] Are there any surviving alternatives to prepack?
    For those uninitiated, Prepack was a neat JavaScript code optimizer. It eliminated computations that could be done at compile time. https://prepack.io/ The project has been dead for quite a while, but it has valid use cases to this day. Source: about 1 year ago
  • Understanding the Performance Impact of Generated JavaScript
    Surely this is the job for something like https://prepack.io/. Source: over 1 year ago
  • Memoirs of a lone JavaScript developer PART 2 : Svelte. An awful implementation of an old idea.
    Some real examples in JavaScript can be seen on Prepack[2]. Consequently it is natural to wonder whether we can AOT compile components of client side frameworks, to achieve a reduction in the final bundle size, but also to increase application execution speed. Source: over 2 years ago

Terser mentions (13)

  • 10 Bad Habits That Can Slow Down Your JavaScript Applications 🐌
    Example: You've got a main.js file that's as long as a Tolstoy novel. Fix: Use tools like UglifyJS or Terser to minify your code. They'll squeeze out all the unnecessary bits and give you a sleeker, faster-loading file. - Source: dev.to / 6 months ago
  • Things you forgot because of React
    They can do it, it is just turned off by default and require more advanced configuration. https://github.com/terser/terser#cli-mangling-property-names.... - Source: Hacker News / 8 months ago
  • Understanding Source Maps: Simplifying Debugging
    Minifying is a common practice for optimizing production code. (for example, using Terser to minify and mangle JavaScript). - Source: dev.to / 10 months ago
  • Minify private methods in a TypeScript class
    Terser is JavaScript compressor that can minified specific method names. - Source: dev.to / over 1 year ago
  • React Native CI/CD build speed improved by 22% with one line of code
    Every release build of React Native uses terser to reduce the size of your JavaScript. And it operation can be omitted for Staging/Beta builds. - Source: dev.to / over 1 year ago
View more

What are some alternatives?

When comparing Prepack and Terser, you can also consider the following products

CodeRush - DevExpress CodeRush for Roslyn uses significantly less memory, works faster, and lets you start Visual Studio faster.

JavaScript Obfuscator - JavaScript Obfuscator is a free online tool that obfuscates your source code, preventing it from being stolen and used without permission.

ReSharper - ReSharper is a productivity tool for visual studio that provides tools and features to help you manage your code.

UglifyJS - JavaScript minifier, beautifier, mangler and parser toolkit.

Productivity Power Tools - Extension for Visual Studio - A set of extensions to Visual Studio 2012 Professional (and above) which improves developer productivity.

YUI Compressor - Yahoo JS/CSS Compressor