I reduced an npm package size by 50% with minification

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • Scout APM - Truly a developer’s best friend
  • Zigi - Delete the most useless function ever: context switching.
  • InfluxDB - Build time-series-based applications quickly and at scale.
  • Sonar - Write Clean JavaScript Code. Always.
  • terser

    🗜 JavaScript parser, mangler and compressor toolkit for ES6+

    fifty-three kilo-byte was a little bit large, and since the bundler i'm using for this package is rollup.js, all ineeded to do was install the terser — a JavaScript compressor toolkit for ES6 mdash; plugin for rollup.

  • Rollup

    Next-generation ES module bundler

    fifty-three kilo-byte was a little bit large, and since the bundler i'm using for this package is rollup.js, all ineeded to do was install the terser — a JavaScript compressor toolkit for ES6 mdash; plugin for rollup.

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts