a11y.skipToMainContent
1

JavaScript Minifier

استولي على شفرة (جافاسكريبت) لتقليلها فوراً يزيل التعليقات، وينهار في الفضاء الأبيض، وتقاطع الشرائط.

Input: 0 charsOutput: 0 chars
More options
Was this tool helpful?
Send output to:
Advertisement

How to use JavaScript Minifier

  1. استولي على شفرة جافاسك في مجال المدخلات.
  2. Toggle options for console.log and debugger removal.
  3. قم بتقليص حجم الورقة.
  4. عُلم الرمز المُنقّف وشاهد إحصائيات الضغط.

ما هذا؟?

يخفض هذا المركب المصغر من طراز JavaScript حجم الشفرة عن طريق إزالة تعليقات خطية واحدة ومتعددة الخطين (الاحتفاظ بالألغام الأرضية المضادة للمركبات)، وانهيار الحيز الأبيض، وإلغاء الموافقة الاختيارية*. تظهر قبل/بعد أن يحسب الطابع مع انخفاض النسبة المئوية. Note: for production minification with changing mangling, use tools like Terser or esbuild
Advertisement

FAQ

هل هذا جيد مثل تيريزر/أوغلايس؟?
وتعالج هذه الأداة التضخيم الأساسي (التعليقات، والفضاء الأبيض، وإزالة البنفسج). ويوصى باستخدام أدوات مخصصة مثل " تيريزر " في استخدام الإنتاج باستخدام متغيرات التنظيف وتشكيل الأشجار.
هل يحفظ اليوران في التعليقات؟?
نعم، تعليقات ذات خط واحد تحتوي على حرف "أ" محجوزة بما أنها من المحتمل URLs، وليس تعليقات رمزية.

Related tools

Author

MW
Marcus Webb"The DevTool Craftsman"

Full-Stack Developer & Tools Architect

Marcus has been writing code since the dial-up era. He has contributed to open-source developer tools, built CI/CD pipelines for startups, and debugged production incidents at 3 AM more times than he would like to admit. His philosophy is that the best developer tool is the one that gets out of your way, and he writes about practical tooling that helps teams ship faster with fewer headaches.

← Back to Developer Tools · All tags

Last updated:

Advertisement