awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
purifycss avatar

purifycss/purifycss

0
View on GitHub↗
9,863 estrellas·380 forks·JavaScript·MIT·4 vistas

Purifycss

PurifyCSS is a CSS unused style remover and payload optimizer that analyzes HTML and templates to identify and delete unused CSS selectors from stylesheets. It functions as a frontend build automation tool that integrates into development pipelines to automatically strip redundant styles and minify assets during the compilation phase.

The tool provides specific optimization for single page applications, identifying and removing redundant CSS while ensuring necessary styles are preserved across dynamic views and states.

The utility covers a range of capabilities including static content analysis, selector-based filtering, and the use of whitelists to prevent the deletion of protected style rules. It also includes a minifier to compress final stylesheets by removing unnecessary whitespace and characters.

Features

  • CSS Selector Purging - A tool that analyzes HTML and templates to identify and delete unused CSS selectors from stylesheets.
  • CSS Purging - Identifies and removes unused CSS rules from stylesheets to significantly reduce the total file size.
  • Frontend Build Tools - Integrates into development pipelines to automatically clean and minify CSS assets during the compilation phase.
  • Static Analysis - Scans HTML and template files without execution to determine which CSS selectors are actually utilized.
  • CSS Selectors - Analyzes stylesheets and content to delete selectors that do not match any existing elements.
  • Payload Optimization - Reduces the size of delivered CSS by removing unused selectors to improve web page performance.
  • Build Automation Pipelines - Automates the sequence of stripping unused styles and optimizing assets into production-ready files.
  • CSS Build Tools - Provides a build-time engine that scans source files to strip unused styles and compile optimized CSS.
  • Asset Minification - Compresses stylesheets by removing unused rules and whitespace to decrease the amount of data sent to browsers.
  • Build Pipeline Integrations - Integrates style removal and minification directly into continuous integration and deployment pipelines.
  • Build Tool Integrations - Provides plugins and configurations to automate CSS purification within standard build tool workflows.
  • Single Page Applications - Identifies and removes redundant CSS specifically within the context of dynamic single-page applications.
  • Style Optimization - Optimizes CSS for dynamic web apps while ensuring necessary styles are preserved across different views.
  • Style Optimizations - Preserves necessary selectors across dynamic views and states while removing redundant code in single-page applications.
  • Preservation Lists - Allows users to protect specific style rules from being deleted even if not detected in the source.
  • Code Minifiers - Reduces stylesheet file size by removing unnecessary characters and whitespace.
  • CSS Selector Whitelists - Prevents specific style rules from being deleted via a predefined list of protected strings.
  • Content Minification - Compresses final stylesheets by removing unnecessary whitespace and characters to reduce payload size.
  • CSS Optimization - Remove unused CSS selectors from stylesheets.

Historial de estrellas

Gráfico del historial de estrellas de purifycss/purifycssGráfico del historial de estrellas de purifycss/purifycss

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Preguntas frecuentes

¿Qué hace purifycss/purifycss?

PurifyCSS is a CSS unused style remover and payload optimizer that analyzes HTML and templates to identify and delete unused CSS selectors from stylesheets. It functions as a frontend build automation tool that integrates into development pipelines to automatically strip redundant styles and minify assets during the compilation phase.

¿Cuáles son las características principales de purifycss/purifycss?

Las características principales de purifycss/purifycss son: CSS Selector Purging, CSS Purging, Frontend Build Tools, Static Analysis, CSS Selectors, Payload Optimization, Build Automation Pipelines, CSS Build Tools.

¿Qué alternativas de código abierto existen para purifycss/purifycss?

Las alternativas de código abierto para purifycss/purifycss incluyen: uncss/uncss — Uncss is a build pipeline CSS optimizer and optimization tool designed to remove unused styles from stylesheets. It… fullhuman/purgecss — PurgeCSS is a build-pipeline CSS purger and optimizer designed to reduce the final size of stylesheets. It functions… uncss/grunt-uncss — grunt-uncss is a CSS dead code eliminator and static analysis build tool. It functions as a Grunt CSS optimization… cssnano/cssnano — cssnano is a CSS compression tool and minifier that reduces the file size and gzip footprint of stylesheets. It… facebook/stylex — StyleX is a type-safe CSS-in-JS library and atomic CSS compiler that transforms JavaScript style definitions into… microsoft/rushstack — Rushstack is a comprehensive toolset for managing large-scale TypeScript monorepos, providing a framework for build…

Alternativas open-source a Purifycss

Proyectos open-source similares, clasificados según cuántas características comparten con Purifycss.
  • uncss/uncssAvatar de uncss

    uncss/uncss

    9,408Ver en GitHub↗

    Uncss is a build pipeline CSS optimizer and optimization tool designed to remove unused styles from stylesheets. It analyzes HTML files to identify and strip selectors that do not match any elements in the markup, reducing the final stylesheet size and overall web page weight. The tool functions as a DOM-based CSS analyzer that can simulate runtime document states. It provides mechanisms to preserve required selectors through the use of literal names, regular expressions, and specialized CSS comment markers to ensure styles triggered by user interactions are not deleted. The project supports

    JavaScriptbuild-toolcleanupcss
    Ver en GitHub↗9,408
  • fullhuman/purgecssAvatar de FullHuman

    FullHuman/purgecss

    8,043Ver en GitHub↗

    PurgeCSS is a build-pipeline CSS purger and optimizer designed to reduce the final size of stylesheets. It functions as a tree shaking tool that scans HTML and JavaScript files to identify and remove unused selectors from CSS. The tool optimizes CSS payloads by performing static content analysis to detect which styles are actually used in the markup. It uses regex-based pattern matching to find potential class names without executing code and employs a PostCSS-based AST transformation to safely delete unused rules. The project provides capabilities for frontend build automation, allowing the

    TypeScript
    Ver en GitHub↗8,043
  • uncss/grunt-uncssAvatar de uncss

    uncss/grunt-uncss

    3,795Ver en GitHub↗

    grunt-uncss is a CSS dead code eliminator and static analysis build tool. It functions as a Grunt CSS optimization plugin that identifies and deletes redundant style rules to reduce stylesheet file sizes and improve frontend performance. The tool analyzes HTML files and headless browser DOM states to detect styles that do not match any elements in the markup. It supports the protection of specific selectors through whitelists to ensure that styles for dynamically injected elements are preserved during the cleanup process. The project covers frontend asset minification by compressing cleaned

    HTML
    Ver en GitHub↗3,795
  • cssnano/cssnanoC

    cssnano/cssnano

    4,974Ver en GitHub↗

    cssnano is a CSS compression tool and minifier that reduces the file size and gzip footprint of stylesheets. It operates as a build pipeline optimizer and code transformer that removes whitespace and comments while shortening colors and gradients into their smallest possible representations. The tool uses a modular plugin architecture and preset-based optimization levels to balance compression intensity with browser compatibility. It allows for the adjustment of output based on a target list of supported browsers to ensure minified styles remain compatible across different environments. The

    CSS
    Ver en GitHub↗4,974
Ver las 30 alternativas a Purifycss→