JavaScript Minifiers

Open-source JavaScript projects categorized as Minifiers

Top 5 JavaScript Minifier Projects

  • imagemin

    [Unmaintained] Minify images seamlessly

    Project mention: Compressing images on client side before upload | | 2022-02-09

    (I checked out : imagemin, compress.js, compressorjs and some small others)

  • HTMLMinifier

    Javascript-based HTML compressor/minifier (with Node.js support)

    Project mention: Minify and bundle HTML, CSS, and JS as part of your Netlify deployment | | 2023-01-18

    [build] command = "pnpm build" publish = "_site" [build.processing] skip_processing = false [build.processing.css] minify = true bundle = false [build.processing.js] minify = true bundle = false # Config for the Netlify Build Plugin: netlify-plugin-minify-html [[plugins]] package = "netlify-plugin-minify-html" # Specify which deploy contexts we'll minify HTML in. # Supports any Deploy Contexts available in Netlify. # [plugins.inputs] contexts = [ 'production', 'branch-deploy', 'deploy-preview' ] # Optionally, override the default options for the minification # [plugins.inputs.minifierOptions] collapseWhitespace = true conservativeCollapse = true minifyCSS = true minifyJS = true

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • babili

    :scissors: An ES6+ aware minifier based on the Babel toolchain (beta)

    Project mention: Hybrid MVC + ReactJS with bootstrap | | 2022-12-20

    In your node project, add Babel and Webpack. They can “transpile “ your JSX code to browser compatible code. You can try it out here

  • clean-css

    Fast and efficient CSS optimizer for node.js and the Web

  • minimize

    Minimize HTML

  • InfluxDB

    Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-01-18.

JavaScript Minifiers related posts


What are some of the best open-source Minifier projects in JavaScript? This list will help you:

Project Stars
1 imagemin 5,263
2 HTMLMinifier 4,743
3 babili 4,354
4 clean-css 4,031
5 minimize 160
Write Clean JavaScript Code. Always.
Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.