awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
GoalSmashers avatar

GoalSmashers/clean-css

0
View on GitHub↗
4,202 stars·318 forks·JavaScript·MIT·12 viewsclean-css.github.io↗

Clean Css

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 into a single output, asynchronously inlining remote resources, and rebasing relative asset URLs. It also generates source maps to link optimized stylesheets back to their original source code.

Features

  • CSS Minification - Reduces stylesheet file sizes by removing unnecessary whitespace, characters, and redundant rules.
  • Stylesheet Bundling - Combines multiple stylesheets into a single optimized bundle to reduce network requests.
  • Source Map Generators - Generates mapping files that link minified CSS back to the original source code for debugging.
  • CSS Bundlers - Aggregates and processes multiple CSS files into a single output to improve page load performance.
  • CSS Minifiers - Shrinks stylesheet file size through rule merging, character removal, and color optimization.
  • CSS Optimizers - Provides a comprehensive suite of tools for shrinking and optimizing CSS files to improve page load times.
  • CSS AST Transformations - Implements programmatic modification of CSS structures through tree traversal and rule merging.
  • CSS Transformation Plugins - Allows the integration of custom plugins to perform specialized CSS transformations during the optimization process.
  • Browser Compatibility Configurations - Automates code compatibility adjustments by targeting specific browser versions.
  • Plugin-Based Architectures - Features a plugin-driven architecture that allows external modules to hook into the CSS transformation pipeline.
  • Browser Compatibility & Utilities - Adjusts optimization levels to ensure resulting styles remain functional across specified browser versions.
  • Frontend Asset Optimization - Optimizes frontend CSS assets by minimizing size and resolving resource paths for production.
  • Build and Automation Tools - Fast and efficient CSS optimization and minification library.

Star history

Star history chart for goalsmashers/clean-cssStar history chart for goalsmashers/clean-css

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Open-source alternatives to Clean Css

Similar open-source projects, ranked by how many features they share with Clean Css.
  • clean-css/clean-cssclean-css avatar

    clean-css/clean-css

    4,201View on GitHub↗

    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

    JavaScript
    View on GitHub↗4,201
  • css/cssocss avatar

    css/csso

    3,792View on 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
    View on GitHub↗3,792
  • jakubpawlowicz/clean-cssjakubpawlowicz avatar

    jakubpawlowicz/clean-css

    4,202View on 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
    View on GitHub↗4,202
  • parcel-bundler/parcel-cssparcel-bundler avatar

    parcel-bundler/parcel-css

    7,576View on 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
    View on GitHub↗7,576
See all 30 alternatives to Clean Css→

Frequently asked questions

What does goalsmashers/clean-css do?

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.

What are the main features of goalsmashers/clean-css?

The main features of goalsmashers/clean-css are: CSS Minification, Stylesheet Bundling, Source Map Generators, CSS Bundlers, CSS Minifiers, CSS Optimizers, CSS AST Transformations, CSS Transformation Plugins.

What are some open-source alternatives to goalsmashers/clean-css?

Open-source alternatives to goalsmashers/clean-css include: 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…