clean-css هو محسن CSS لـ Node.js يعمل كمصغر، ومجمع، ومولد خرائط مصدر. يقلل من أحجام ملفات أوراق الأنماط عن طريق إزالة المسافات البيضاء والتعليقات مع تحسين الألوان والوحدات لتحسين أوقات تحميل الصفحة.
الميزات الرئيسية لـ goalsmashers/clean-css هي: CSS Minification, Stylesheet Bundling, Source Map Generators, CSS Bundlers, CSS Minifiers, CSS Optimizers, CSS AST Transformations, CSS Transformation Plugins.
تشمل البدائل مفتوحة المصدر لـ goalsmashers/clean-css: clean-css/clean-css — Clean-CSS is a Node.js CSS optimizer that functions as a minifier, bundler, and post-processor. It is designed to… css/csso — csso is a CSS minifier and optimizer that reduces stylesheet file sizes through structural analysis and algebraic… jakubpawlowicz/clean-css — Clean-CSS is a Node.js CSS optimizer and minifier designed to reduce stylesheet file sizes and improve web… parcel-bundler/parcel-css — parcel-css is a high-performance CSS bundler and processor written in Rust. It provides tools for parsing,… parcel-bundler/lightningcss — Lightning CSS is a high-performance CSS toolchain implemented in Rust. It provides a comprehensive suite of tools for… cssnano/cssnano — cssnano is a CSS compression tool and minifier that reduces the file size and gzip footprint of stylesheets. It…
Clean-CSS is a Node.js CSS optimizer that functions as a minifier, bundler, and post-processor. It is designed to decrease total stylesheet volume by removing whitespace, comments, and redundant code. The project provides a pipeline for applying custom transformations and browser compatibility adjustments. It allows for the programmatic modification of CSS rules and values through a plugin system and the use of custom optimization plugins. The tool covers a broad range of asset optimization capabilities, including stylesheet bundling, import rule inlining, and relative URL rebasing. It also
csso is a CSS minifier and optimizer that reduces stylesheet file sizes through structural analysis and algebraic transformations. It functions as an abstract syntax tree processor, converting styles into a structured tree to perform deep analysis and semantic-preserving code transformations while maintaining the original visual presentation. The project distinguishes itself through usage-aware optimization, analyzing external HTML markup and class identifiers to prune unused styles and reorganize rules based on actual document usage. It also performs structural refactoring by identifying and
Clean-CSS is a Node.js CSS optimizer and minifier designed to reduce stylesheet file sizes and improve web performance. It functions as a CSS post-processor that removes unnecessary whitespace, comments, and redundant properties from stylesheets. The project utilizes an abstract syntax tree for parsing and a multi-pass optimization pipeline to restructure rules and simplify properties. It features a plugin interface for custom style transformations and provides compatibility-aware minification to ensure styles remain functional across specific legacy browser versions. Additional capabilities
parcel-css is a high-performance CSS bundler and processor written in Rust. It provides tools for parsing, transforming, and bundling stylesheets, utilizing a structured abstract syntax tree with typed property representations to ensure accurate analysis and modification. The project features a syntax lowerer that transpiles modern CSS into compatible versions based on target browser requirements and an automated system for managing vendor prefixes. It also includes a module scoper that isolates class and ID identifiers to prevent global namespace collisions. Additional capabilities include