awesome-repositories.com
Blog
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
clean-css avatar

clean-css/clean-css

0
View on GitHub↗
4,201 stars·318 forks·JavaScript·MIT·6 vuesclean-css.github.io↗

Clean Css

Clean-CSS est un optimiseur CSS Node.js qui fonctionne comme un minificateur, un bundler et un post-processeur. Il est conçu pour diminuer le volume total des feuilles de style en supprimant les espaces blancs, les commentaires et le code redondant.

Le projet fournit un pipeline pour appliquer des transformations personnalisées et des ajustements de compatibilité des navigateurs. Il permet la modification programmatique des règles et valeurs CSS via un système de plugin et l'utilisation de plugins d'optimisation personnalisés.

L'outil couvre un large éventail de capacités d'optimisation d'actifs, incluant le regroupement de feuilles de style, l'intégration des règles d'importation et le rebasage des URL relatives. Il prend également en charge la génération de source maps pour le débogage et le formatage de sortie personnalisable pour l'embellissement.

Features

  • CSS Minification - Compresses stylesheets by removing whitespace, comments, and redundant code to reduce total file size.
  • Stylesheet Bundling - Concatenates multiple CSS files or strings into a single optimized output bundle while maintaining order.
  • CSS Processors - Implements a processing pipeline for applying custom transformations and browser compatibility adjustments to stylesheets.
  • CSS Transformation Plugins - Implements a plugin system specifically designed to modify the CSS abstract syntax tree during optimization.
  • Abstract Syntax Tree Parsing - Parses stylesheets into a structured tree representation to enable programmatic rule merging and selector simplification.
  • CSS Selector Minification - Simplifies complex selectors and rules to reduce the total byte count of the output.
  • CSS Bundlers - Aggregates multiple stylesheets into a single output file and resolves inline import rules.
  • CSS Minifiers - Minifies CSS files by removing unnecessary characters, whitespace, and merging redundant rules.
  • CSS Optimizers - Provides a JavaScript-based engine to optimize CSS properties and selectors to minimize overall stylesheet size.
  • CSS Property Minification - Reduces size by merging adjacent rules and shortening color representations.
  • Frontend Asset Optimization - Optimizes frontend assets by compressing CSS and refining properties to decrease the total byte count sent to browsers.
  • CSS AST Transformations - Programmatically modifies CSS structures and values using tree traversal and plugins for custom requirements.
  • Remote Dependency Inliners - Fetches and merges external CSS import rules from remote sources directly into the local stylesheet during build.
  • CSS Source Mapping - Generates source maps that link minified CSS production files back to their original source code for debugging.
  • Source Map Generation - Generates mapping files between original source CSS and the optimized output for debugging.
  • CSS Rule Preservation Markers - Uses specialized preservation comments to prevent the removal of specific style rules during optimization.
  • Browser Compatibility Targets - Adjusts output behavior based on defined minimum browser versions to ensure compatibility with legacy environments.
  • CSS Value Optimizers - Shortens color and gradient parameters into their smallest possible valid representations using optimization plugins.
  • CSS Optimization Levels - Provides selectable optimization levels to control the aggressiveness of CSS code reduction.
  • CSS Pipeline Extensions - Enables the definition of custom logic within the minification pipeline to modify CSS rules.
  • URL Relative Path Resolvers - Recalculates relative asset paths dynamically to ensure images and fonts remain linked when stylesheets are moved.
  • CSS Import Inlining - Resolves and merges CSS import statements from local or remote sources directly into the stylesheet.
  • Asset Optimization - Fast and efficient CSS minification for Node.js.
  • Code Minifiers - CSS file minification and optimization.

Historique des stars

Graphique de l'historique des stars pour clean-css/clean-cssGraphique de l'historique des stars pour clean-css/clean-css

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Alternatives open source à Clean Css

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Clean Css.
  • goalsmashers/clean-cssAvatar de GoalSmashers

    GoalSmashers/clean-css

    4,202Voir sur GitHub↗

    clean-css is a Node.js CSS optimizer that functions as a minifier, bundler, and source map generator. It reduces stylesheet file sizes by removing whitespace and comments while optimizing colors and units to improve page load times. The tool features a plugin-driven pipeline that allows for custom optimization transformations and the preservation of specific code fragments via marker-based exclusions. It includes browser compatibility targeting to ensure optimized styles remain functional across specified browser versions. The project provides capabilities for bundling multiple stylesheets i

    JavaScript
    Voir sur GitHub↗4,202
  • jakubpawlowicz/clean-cssAvatar de jakubpawlowicz

    jakubpawlowicz/clean-css

    4,202Voir sur GitHub↗

    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

    JavaScript
    Voir sur GitHub↗4,202
  • css/cssoAvatar de css

    css/csso

    3,792Voir sur GitHub↗

    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

    JavaScript
    Voir sur GitHub↗3,792
  • parcel-bundler/parcel-cssAvatar de parcel-bundler

    parcel-bundler/parcel-css

    7,576Voir sur GitHub↗

    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

    Rust
    Voir sur GitHub↗7,576
Voir les 30 alternatives à Clean Css→

Questions fréquentes

Que fait clean-css/clean-css ?

Clean-CSS est un optimiseur CSS Node.js qui fonctionne comme un minificateur, un bundler et un post-processeur. Il est conçu pour diminuer le volume total des feuilles de style en supprimant les espaces blancs, les commentaires et le code redondant.

Quelles sont les fonctionnalités principales de clean-css/clean-css ?

Les fonctionnalités principales de clean-css/clean-css sont : CSS Minification, Stylesheet Bundling, CSS Processors, CSS Transformation Plugins, Abstract Syntax Tree Parsing, CSS Selector Minification, CSS Bundlers, CSS Minifiers.

Quelles sont les alternatives open-source à clean-css/clean-css ?

Les alternatives open-source à clean-css/clean-css incluent : goalsmashers/clean-css — clean-css is a Node.js CSS optimizer that functions as a minifier, bundler, and source map generator. It reduces… jakubpawlowicz/clean-css — Clean-CSS is a Node.js CSS optimizer and minifier designed to reduce stylesheet file sizes and improve web… css/csso — csso is a CSS minifier and optimizer that reduces stylesheet file sizes through structural analysis and algebraic… parcel-bundler/parcel-css — parcel-css is a high-performance CSS bundler and processor written in Rust. It provides tools for parsing,… nmfr/optimize-css-assets-webpack-plugin — This project is a Webpack plugin designed to automate the compression and refinement of CSS assets during the module… parcel-bundler/lightningcss — Lightning CSS is a high-performance CSS toolchain implemented in Rust. It provides a comprehensive suite of tools for…