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
·

4 repositorios

Awesome GitHub RepositoriesCSS Selector Purging

Mechanisms for removing CSS rules whose selectors do not match any elements in the target content.

Distinct from CSS Selectors: Distinct from CSS Selectors: focuses on the removal of unused rules rather than the definition of style targeting.

Explore 4 awesome GitHub repositories matching web development · CSS Selector Purging. Refine with filters or upvote what's useful.

Awesome CSS Selector Purging GitHub Repositories

Encuentra los mejores repositorios con IA.Buscaremos los repositorios que mejor coincidan usando IA.
  • purifycss/purifycssAvatar de purifycss

    purifycss/purifycss

    9,863Ver en GitHub↗

    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 analy

    A tool that analyzes HTML and templates to identify and delete unused CSS selectors from stylesheets.

    JavaScript
    Ver en GitHub↗9,863
  • fullhuman/purgecssAvatar de FullHuman

    FullHuman/purgecss

    8,043Ver en GitHub↗

    PurgeCSS es un purificador y optimizador de CSS para pipelines de compilación, diseñado para reducir el tamaño final de las hojas de estilo. Funciona como una herramienta de tree shaking que analiza archivos HTML y JavaScript para identificar y eliminar selectores CSS no utilizados. La herramienta optimiza las cargas útiles de CSS realizando un análisis estático del contenido para detectar qué estilos se utilizan realmente en el marcado. Utiliza coincidencia de patrones basada en expresiones regulares para encontrar nombres de clases potenciales sin ejecutar código y emplea una transformación de AST basada en PostCSS para eliminar de forma segura las reglas no utilizadas. El proyecto proporciona capacidades para la automatización de compilaciones frontend, permitiendo que la eliminación de estilos no utilizados se integre directamente en empaquetadores de módulos y ejecutores de tareas. También incluye un filtro de lista blanca personalizada para preservar selectores esenciales, independientemente de si se detectan durante el análisis del contenido.

    Removes CSS rules whose selectors do not match any elements found during the static content scan.

    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

    Protects designated CSS selectors from being purged to ensure styles remain for runtime elements.

    HTML
    Ver en GitHub↗3,795
  • geuis/helium-cssAvatar de geuis

    geuis/helium-css

    3,633Ver en GitHub↗

    Helium-css is a command-line diagnostic utility designed to identify unused CSS selectors across web projects. By performing static analysis on style sheets and comparing them against the rendered document object model, the tool detects redundant style definitions that do not correspond to any elements on a page. The tool functions by automating a headless browser to crawl multiple URLs, aggregating selector usage data to provide a comprehensive view of CSS coverage for an entire website. This process allows developers to audit frontend assets and remove legacy code, which reduces the total s

    Identifies and reports CSS selectors that do not match any elements within the document object model to reduce unnecessary file size.

    JavaScript
    Ver en GitHub↗3,633
  1. Home
  2. Web Development
  3. CSS Selector Purging