5 مستودعات
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 هو أداة لتحسين وتصغير حجم الصور في Node.js مصممة لتقليل حجم تخزين أصول الصور. يعمل كمحسن لأصول خط أنابيب البناء (build pipeline) يستخدم كلاً من الضغط المفقود وغير المفقود لإزالة البيانات الوصفية غير الضرورية وتحسين بيانات البكسل. يستخدم المشروع بنية قائمة على الإضافات لتوسيع وظائفه، حيث يقوم بتحميل وحدات خارجية تتعامل مع تنسيقات صور وخوارزميات ضغط محددة. وهذا يسمح للأداة بالعمل كمجموعة أدوات مرنة لأتمتة ضغط الصور داخل خطوط أنابيب التطوير. يغطي النظام إمكانيات واسعة لتحسين أداء الويب، بما في ذلك التكامل في خطوط أنابيب أصول الواجهة الأمامية وسير عمل إنشاء المواقع الثابتة لتقليل استهلاك النطاق الترددي وتحسين سرعات تحميل الصفحات.
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 هو محسن CSS لـ Node.js يعمل كمصغر، ومجمع، ومعالج لاحق. تم تصميمه لتقليل إجمالي حجم أوراق الأنماط عن طريق إزالة المسافات البيضاء، والتعليقات، والكود الزائد. يوفر المشروع خط أنابيب لتطبيق تحويلات مخصصة وتعديلات توافق المتصفح. يسمح بالتعديل البرمجي لقواعد وقيم CSS من خلال نظام مكون إضافي واستخدام مكونات تحسين مخصصة. تغطي الأداة مجموعة واسعة من إمكانيات تحسين الأصول، بما في ذلك تجميع أوراق الأنماط، وتضمين قاعدة الاستيراد، وإعادة تعيين رابط URL النسبي. كما يدعم توليد خرائط المصدر لتصحيح الأخطاء وتنسيق المخرجات القابل للتخصيص للتجميل.
CSS file minification and optimization.