The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →
Top 23 Minification Open-Source Projects
-
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:
-
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.
-
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.
-
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.
-
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/
-
-
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
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:
-
Project mention: What is the basic use of GitHub Desktop for CI/CD work on WordPress websites? | /r/github | 2023-06-13
WP Rocket
-
-
-
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-08You 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
-
-
-
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
-
-
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.
Minification related posts
- How to improve page load speed and response times: A comprehensive guide
- Extremely reducing the size of NPM package
- Minify and Gzip (2022)
- Setting max line length in WebMarkupMin's settings | .net 7
- Image size reduction
- Exporting images under 200kb without ruining quality?
- Dynamic SVG images using Next.js
-
A note from our sponsor - WorkOS
workos.com | 28 Mar 2024
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 |