Minification

Open-source projects categorized as Minification

Top 23 Minification Open-Source Projects

  • svgo

    ⚙️ Node.js tool for optimizing SVG files

  • Project mention: Random Code Inspiration Volume 2 | dev.to | 2023-10-01

    image-shrinker is a simple, easy to use open source tool for shrinking images. Under the hood it uses pngquant, mozjpg, SVGO, and gifsicle. You can also install these tools individually if you need to compress some images. I often use pngquantafter exporting PNGs for web projects from Figma or similar tools. I literally run it like this:

  • ImageOptim

    GUI image optimizer for Mac

  • Project mention: How to improve page load speed and response times: A comprehensive guide | dev.to | 2024-02-26

    Compressing images: This technique reduces image size without compromising quality. You can achieve this using various image compression tools like TinyPNG or ImageOptim. These tools are specifically designed to manage multiple image formats and compression methods. They help reduce image files, resulting in less data transfer from the server to the user's device. It is advisable to compress images before uploading them to the web server.

  • SurveyJS

    Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.

    SurveyJS logo
  • cssnano

    A modular minifier, built on top of the PostCSS ecosystem.

  • Project mention: Why don’t we talk about minifying CSS anymore? | dev.to | 2024-04-24

    There are a number of tools available to minify CSS in development or as part of your build pipeline including, but not limited to, cssnano and Vite. If you’re using sass, it’s as straightforward as adding --style=compressed to your sass command. The results you achieve may vary depending on the complexity of your CSS, but you may see numbers similar to this (processed with sass):

  • clean-css

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

  • Project mention: How to improve page load speed and response times: A comprehensive guide | dev.to | 2024-02-26

    Minification involves removing unnecessary characters, whitespace, and comments from code files. It helps reduce HTML, CSS, JavaScript, etc., file sizes without compromising functionality. Removing redundant elements makes these HTML, JavaScript, and CSS files smaller. Since smaller code files need less internet traffic to transfer, they load faster. Utilizing tools like UglifyJS, Clean-CSS, and HTMLMinifier enhances this process of code reduction. They analyze the code, remove redundant code, and generate optimized files for deployment.

  • source-map-explorer

    Analyze and debug space usage through source maps

  • esbuild-loader

    Webpack loader for esbuild: Speed up your build ⚡️

  • WPGulp

    An advanced Gulp workflow for WordPress development with extensive documentation. Used by 40,000+ themes and plugins.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • minification-benchmarks

    🏃‍♂️🏃‍♀️🏃 JS minification benchmarks: babel-minify, esbuild, terser, uglify-js, swc, google closure compiler, tdewolff/minify

  • Project mention: Extremely reducing the size of NPM package | dev.to | 2023-08-05

    Minifiers are used to reduce the size of the bundle. They can remove unused code, shorten expressions, and so on. And Now there are already several popular minifiers, and they continue to appear: more familiar ones - written in JavaScript - Terser and UglifyJS, even Babel has its own version of the minifier, there are also more modern SWC (written in Rust) and ESBuild (written in Go), and a bunch of other lesser-known minifiers. And I recommend you to look at this repository. It contains up-to-date test results of various popular minifiers.

  • babel-plugin-styled-components

    Improve the debugging experience and add server-side rendering support to styled-components

  • babel-plugin-transform-react-remove-prop-types

    Remove unnecessary React propTypes from the production build. :balloon:

  • wp-rocket

    Performance optimization plugin for WordPress

  • Project mention: What is the basic use of GitHub Desktop for CI/CD work on WordPress websites? | /r/github | 2023-06-13

    WP Rocket

  • proguard-maven-plugin

    ProGuard Maven plugin that supports modularised ProGuard packages

  • python-minifier

    Transform Python source code into its most compact representation

  • Web Markup Minifier

    The Web Markup Minifier (abbreviated WebMarkupMin) - a .NET library that contains a set of markup minifiers. The objective of this project is to improve the performance of web applications by reducing the size of HTML, XHTML and XML code.

  • Project mention: Setting max line length in WebMarkupMin's settings | .net 7 | /r/dotnet | 2023-07-08

    You can also dig down in the HTML settings class that actually contains all these properties by starting at the top and looking at the base classes here: https://github.com/Taritsyn/WebMarkupMin/blob/master/src/WebMarkupMin.Core/HtmlMinificationSettings.cs

  • Smidge

    A lightweight runtime CSS/JavaScript file minification, combination, compression & management library for ASP.Net Core

  • Prometheus

    Lua Obfuscator written in pure Lua (by prometheus-lua)

  • WebCompiler

  • website

    Documentation for the SWC project. (by swc-project)

  • CompressedStaticFiles

    asp.net core middleware to send compressed static files to the browser without having to compress on demand, also has support for sending more advanced image formats when the browser indicates that i has support for it.

  • htmldoc

    A token based HTML Document parser and minifier written in PHP. Extract attribute values and text using CSS selectors.

  • torque

    A Wordpress plugin to optimise the transport of your website to the client. Reduce the load on your server and make your Wordpress website fly! (by hexydec)

  • jslite

    A token based Javascript compiler/minifier designed for compressing inline scripts on the fly, written in PHP

  • js-utils

    ⚡ Essential JavaScript libraries/utilities for Node.js and the web (by adamlui)

  • Project mention: js-utils VS chatgpt.js - a user suggested alternative | libhunt.com/r/adamlui/js-utils | 2024-03-29
  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
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).

Minification related posts

Index

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

Project Stars
1 svgo 20,349
2 ImageOptim 8,932
3 cssnano 4,622
4 clean-css 4,135
5 source-map-explorer 3,777
6 esbuild-loader 3,519
7 WPGulp 1,764
8 minification-benchmarks 1,208
9 babel-plugin-styled-components 1,064
10 babel-plugin-transform-react-remove-prop-types 899
11 wp-rocket 660
12 proguard-maven-plugin 570
13 python-minifier 534
14 Web Markup Minifier 433
15 Smidge 355
16 Prometheus 189
17 WebCompiler 146
18 website 102
19 CompressedStaticFiles 83
20 htmldoc 21
21 torque 9
22 jslite 6
23 js-utils 5

Sponsored
The modern identity platform for B2B SaaS
The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
workos.com