11 مستودعات
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 هو أداة لتحسين وتصغير حجم الصور في Node.js مصممة لتقليل حجم تخزين أصول الصور. يعمل كمحسن لأصول خط أنابيب البناء (build pipeline) يستخدم كلاً من الضغط المفقود وغير المفقود لإزالة البيانات الوصفية غير الضرورية وتحسين بيانات البكسل. يستخدم المشروع بنية قائمة على الإضافات لتوسيع وظائفه، حيث يقوم بتحميل وحدات خارجية تتعامل مع تنسيقات صور وخوارزميات ضغط محددة. وهذا يسمح للأداة بالعمل كمجموعة أدوات مرنة لأتمتة ضغط الصور داخل خطوط أنابيب التطوير. يغطي النظام إمكانيات واسعة لتحسين أداء الويب، بما في ذلك التكامل في خطوط أنابيب أصول الواجهة الأمامية وسير عمل إنشاء المواقع الثابتة لتقليل استهلاك النطاق الترددي وتحسين سرعات تحميل الصفحات.
Image optimization and compression library.
cssnano is a CSS compression tool and minifier that reduces the file size and gzip footprint of stylesheets. It operates as a build pipeline optimizer and code transformer that removes whitespace and comments while shortening colors and gradients into their smallest possible representations. The tool uses a modular plugin architecture and preset-based optimization levels to balance compression intensity with browser compatibility. It allows for the adjustment of output based on a target list of supported browsers to ensure minified styles remain compatible across different environments. The
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 هو محسن ومصغر CSS لـ Node.js مصمم لتقليل أحجام أوراق الأنماط وتحسين أداء الويب. يعمل كمعالج لاحق لـ CSS يزيل المسافات البيضاء غير الضرورية، والتعليقات، والخصائص الزائدة عن الحاجة من أوراق الأنماط. يستخدم المشروع شجرة بناء جملة مجردة للتحليل وخط أنابيب تحسين متعدد التمريرات لإعادة هيكلة القواعد وتبسيط الخصائص. يتميز بواجهة مكون إضافي لتحويلات الأنماط المخصصة ويوفر تصغيراً واعياً بالتوافق لضمان بقاء الأنماط وظيفية عبر إصدارات متصفح قديمة محددة. تشمل الإمكانيات الإضافية توليد خرائط مصدر لتصحيح الأخطاء، وإعادة تعيين رابط الأصول للصور والخطوط المنقولة، وحل بيانات الاستيراد المضمنة. يدعم النظام معالجة الملفات المجمعة ويوفر واجهة سطر أوامر لأتمتة مهام التحسين داخل خطوط أنابيب بناء الواجهة الأمامية.
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.