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.

  • cssnano

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

    Project mention: Beyond the Basics: Exploring TailwindCSS and Linaria in Next.js - From Installation to Performance Optimization | dev.to | 2023-12-25

    Since Tailwind is a PostCSS plugin, we can also add cssnano plugin to compress the bundle.

  • 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

    Project mention: Linen.dev: The 500KB Slack Alternative | news.ycombinator.com | 2023-04-26

    I use source-map-explorer to see what's inside. Lighthouse Treemap provides a similar view.

    [source-map-explorer]: https://github.com/danvk/source-map-explorer

    [Lighthouse Treemap]: https://umaar.com/dev-tips/270-devtools-lighthouse-treemap/

  • 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.

  • 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

  • eleventy-plugin-files-minifier

    An Eleventy plugin to automatically minify files

  • 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.

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 2024-02-26.

Minification related posts

Index

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

Project Stars
1 svgo 20,268
2 ImageOptim 8,873
3 cssnano 4,604
4 clean-css 4,129
5 source-map-explorer 3,777
6 esbuild-loader 3,494
7 WPGulp 1,764
8 minification-benchmarks 1,196
9 babel-plugin-styled-components 1,062
10 babel-plugin-transform-react-remove-prop-types 899
11 wp-rocket 655
12 proguard-maven-plugin 569
13 python-minifier 524
14 Web Markup Minifier 427
15 Smidge 352
16 Prometheus 184
17 WebCompiler 145
18 website 102
19 CompressedStaticFiles 82
20 htmldoc 21
21 torque 9
22 jslite 6
23 eleventy-plugin-files-minifier 5
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