5 Repos
Tools for reducing the size of JavaScript, CSS, and HTML files.
Explore 5 awesome GitHub repositories matching part of an awesome list · Code Minifiers. Refine with filters or upvote what's useful.
UglifyJS is a tool for JavaScript code minification, AST manipulation, and source beautification. Its primary purpose is to reduce the file size of JavaScript source code by removing whitespace and shortening variable names to optimize frontend build assets. The project differentiates itself through its ability to programmatically analyze and transform code using abstract syntax trees. It performs constant folding analysis and conditional compilation to eliminate unreachable or redundant code, and it employs a multi-pass compression pipeline to maximize total file size reduction. The tool pr
Standard JavaScript minification tool.
imagemin ist ein Node.js-Bildoptimierungs- und Minifizierungstool, das dazu entwickelt wurde, die Speichergröße von Bild-Assets zu reduzieren. Es fungiert als Asset-Optimierer in der Build-Pipeline, der sowohl verlustbehaftete als auch verlustfreie Komprimierung einsetzt, um unnötige Metadaten zu entfernen und Pixeldaten zu optimieren. Das Projekt verwendet eine Plugin-basierte Architektur, um seine Funktionalität zu erweitern, indem es externe Module lädt, die spezifische Bildformate und Komprimierungsalgorithmen handhaben. Dies ermöglicht es dem Tool, als flexibles Toolkit zur Automatisierung der Bildkomprimierung innerhalb von Entwicklungspipelines zu dienen. Das System deckt breite Funktionen zur Web-Performance-Optimierung ab, einschließlich der Integration in Frontend-Asset-Pipelines und Static-Site-Generation-Workflows, um den Bandbreitenverbrauch zu senken und die Seitenladegeschwindigkeit zu verbessern.
Image file size optimization.
This project is an AST-based code optimizer and compressor for modern ECMAScript, JSX, and TypeScript source code. It functions as a JavaScript minifier that uses the Babel toolchain to reduce file size by removing unnecessary characters and whitespace while preserving program logic. The tool is distinguished by its ability to process experimental language proposals and transform modern syntax into browser-compatible versions. It provides specialized handling for React JSX transpilation and strips type annotations from TypeScript files to produce compressed production assets. The system cove
ES2015-aware JavaScript minifier.
Clean-CSS ist ein Node.js CSS-Optimizer, der als Minifier, Bundler und Post-Prozessor fungiert. Er wurde entwickelt, um das Gesamtvolumen von Stylesheets durch das Entfernen von Leerzeichen, Kommentaren und redundantem Code zu verringern. Das Projekt bietet eine Pipeline zum Anwenden benutzerdefinierter Transformationen und Browser-Kompatibilitätsanpassungen. Es ermöglicht die programmatische Modifikation von CSS-Regeln und -Werten durch ein Plugin-System und die Verwendung benutzerdefinierter Optimierungs-Plugins. Das Tool deckt ein breites Spektrum an Asset-Optimierungsfunktionen ab, einschließlich Stylesheet-Bündelung, Inlining von Import-Regeln und Rebasen relativer URLs. Es unterstützt zudem die Generierung von Source-Maps für das Debugging und anpassbare Ausgabeformatierung für die Verschönerung.
CSS file minification and optimization.