Highly Effective Minification
Terser provides comprehensive minification capabilities, significantly reducing JavaScript file sizes, which can lead to faster load times and improved application performance.
ES6+ Support
Terser supports modern JavaScript syntax, making it suitable for projects using ES6 features and beyond, ensuring compatibility with the latest JavaScript standards.
Source Maps
Terser can generate source maps, allowing developers to map minified code back to the original source code, which is crucial for debugging and maintaining large codebases.
Plugin Friendly
Terser integrates well with various build tools like Webpack, Rollup, and others, offering seamless integration into existing development workflows.
Configurable
Terser offers a high degree of configurability, enabling developers to tailor the minification process according to their specific needs and restrictions.
We have collected here some useful links to help you find out if Terser is good.
Check the traffic stats of Terser on SimilarWeb. The key metrics to look for are: monthly visits, average visit duration, pages per visit, and traffic by country. Moreoever, check the traffic sources. For example "Direct" traffic is a good sign.
Check the "Domain Rating" of Terser on Ahrefs. The domain rating is a measure of the strength of a website's backlink profile on a scale from 0 to 100. It shows the strength of Terser's backlink profile compared to the other websites. In most cases a domain rating of 60+ is considered good and 70+ is considered very good.
Check the "Domain Authority" of Terser on MOZ. A website's domain authority (DA) is a search engine ranking score that predicts how well a website will rank on search engine result pages (SERPs). It is based on a 100-point logarithmic scale, with higher scores corresponding to a greater likelihood of ranking. This is another useful metric to check if a website is good.
The latest comments about Terser on Reddit. This can help you find out how popualr the product is and what people think about it.
I did try rollup with terser but I saw similar results. - Source: dev.to / about 1 year ago
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 / almost 3 years ago
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 / almost 3 years ago
Minifying is a common practice for optimizing production code. (for example, using Terser to minify and mangle JavaScript). - Source: dev.to / about 3 years ago
Terser is JavaScript compressor that can minified specific method names. - Source: dev.to / almost 4 years ago
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 3 years ago
This next one will help us reduce final bundle size by minifying the generated code. It's called rollup-plugin-terser and uses terser under the hood to minify the code. - Source: dev.to / almost 4 years ago
However, it is best to leave basic code size optimizations to minifiers such as Terser as part of the product bundling process. They can perform many different optimizations, and the source code remains more readable without any manual code size optimizations like using void 0 instead of undefined. - Source: dev.to / about 4 years ago
Thus we have written our own module bundler by following the rollup way. We can also support a few extra options Like code minification and mangling by using terser, we can also support iife Format by wrapping the bundle with an iife expression. Since this is a basic example on how a bundler works, I have Skimmed through a few stuffs, but in practice module bundlers are quite complex and interesting to learn... - Source: dev.to / over 4 years ago
Have you even tried Terser? While it doesn't obfuscate it does transform a lot of code, so the actual output depending on the config you use is dramatically different. Source: over 4 years ago
We use terser, a minifier which is part of webpack and usually outperforms Closure Compiler for gzipped output. It's on by default since webpack 4, so it's the lower-effort solution. Source: over 4 years ago
What you might not know, it's not the webpack that cleans up dead code per se. Of course, it does bulk of "preparation" work, but it is terser package that actually will *cut off * unused code. Terser is JavaScript parser, mangler and compressor toolkit for ES6+. - Source: dev.to / almost 5 years ago
Use tools like CSS Minification or Terser JS Plugin. In Nuxt, Terser is included by default. - Source: dev.to / almost 5 years ago
Solution JS โ The new uglify-js: https://github.com/terser/terser or continue using webpack, Teser is already included in the prod.js file. - Source: dev.to / over 5 years ago
Do you know an article comparing Terser to other products?
Suggest a link to a post with product alternatives.
Is Terser good? This is an informative page that will help you find out. Moreover, you can review and discuss Terser here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.