11 Repos
Tools to improve execution speed and memory efficiency.
Explore 11 awesome GitHub repositories matching part of an awesome list · Code Optimization. Refine with filters or upvote what's useful.
This project is a JavaScript code protection tool designed to transform source code into a version that is difficult for humans to read. Its primary purpose is to protect intellectual property and prevent reverse engineering by altering the original program logic. The tool employs several advanced techniques to hinder analysis, including control flow flattening and the injection of dead code. It can compile functions into custom bytecode executed by an embedded virtual machine and encrypt string literals to prevent static analysis of text. Additional capabilities include anti-debugging mecha
Advanced obfuscation for JavaScript and Node.js.
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
JavaScript minification and compression 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 optimization and compression library.
cssnano ist ein CSS-Komprimierungs- und Minifizierungstool, das die Dateigröße und den Gzip-Footprint von Stylesheets reduziert. Es fungiert als Optimierer für Build-Pipelines und Code-Transformator, der Leerzeichen und Kommentare entfernt sowie Farben und Verläufe auf ihre kleinstmögliche Repräsentation verkürzt. Das Tool verwendet eine modulare Plugin-Architektur und preset-basierte Optimierungsstufen, um ein Gleichgewicht zwischen Komprimierungsintensität und Browserkompatibilität zu finden. Es ermöglicht die Anpassung der Ausgabe basierend auf einer Zielliste unterstützter Browser, um sicherzustellen, dass minifizierte Styles in verschiedenen Umgebungen kompatibel bleiben. Das Projekt lässt sich in PostCSS-Pipelines und Modul-Bundler integrieren und bietet sowohl ein Command-Line-Interface als auch Automatisierungsmöglichkeiten für die Integration in Build-Prozesse. Dies ermöglicht die Reduzierung der Gesamt-Byte-Größe und der Netzwerklatenz durch automatisierte CSS-Minifizierungs-Workflows.
Modular CSS minification based on PostCSS.
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
Babel-based minification for modern JavaScript.
Clean-CSS ist ein Node.js CSS-Optimizer und Minifier, der darauf ausgelegt ist, die Dateigröße von Stylesheets zu reduzieren und die Web-Performance zu verbessern. Er fungiert als CSS-Post-Prozessor, der unnötige Leerzeichen, Kommentare und redundante Eigenschaften aus Stylesheets entfernt. Das Projekt nutzt einen Abstract Syntax Tree für das Parsing und eine Multi-Pass-Optimierungspipeline, um Regeln zu restrukturieren und Eigenschaften zu vereinfachen. Es bietet ein Plugin-Interface für benutzerdefinierte Style-Transformationen und eine kompatibilitätsbewusste Minifizierung, um sicherzustellen, dass Styles über spezifische Legacy-Browserversionen hinweg funktionsfähig bleiben. Zusätzliche Funktionen umfassen die Generierung von Source-Maps für das Debugging, Asset-URL-Rebasing für verschobene Bilder und Schriftarten sowie die Auflösung von Inline-Import-Statements. Das System unterstützt Batch-Dateiverarbeitung und bietet ein CLI für die Automatisierung von Optimierungsaufgaben innerhalb von Frontend-Build-Pipelines.
CSS optimization and minification tool.
A minimalist bytecode compiler for Node.js.
Bytecode compilation to protect source code.
Boot large Ruby/Rails apps faster
Accelerates boot times for large Ruby and Rails applications.
A streaming JSON parsing and encoding library for Ruby (C bindings to yajl)
Streaming JSON parsing and encoding with C bindings.
Strip comments from CSS
Removal of comments from CSS files.