awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
purifycss avatar

purifycss/purifycss

0
View on GitHub↗
9,863 stele·380 fork-uri·JavaScript·MIT·4 vizualizări

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.

Istoric stele

Graficul istoricului de stele pentru purifycss/purifycssGraficul istoricului de stele pentru purifycss/purifycss

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Alternative open-source pentru Purifycss

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu Purifycss.
  • uncss/uncssAvatar uncss

    uncss/uncss

    9,408Vezi pe 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
    Vezi pe GitHub↗9,408
  • fullhuman/purgecssAvatar FullHuman

    FullHuman/purgecss

    8,043Vezi pe 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
    Vezi pe GitHub↗8,043
  • uncss/grunt-uncssAvatar uncss

    uncss/grunt-uncss

    3,795Vezi pe 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
    Vezi pe GitHub↗3,795
  • cssnano/cssnanoC

    cssnano/cssnano

    4,974Vezi pe 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
    Vezi pe GitHub↗4,974
Vezi toate cele 30 alternative pentru Purifycss→

Întrebări frecvente

Ce face 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.

Care sunt principalele funcționalități ale purifycss/purifycss?

Principalele funcționalități ale purifycss/purifycss sunt: CSS Selector Purging, CSS Purging, Frontend Build Tools, Static Analysis, CSS Selectors, Payload Optimization, Build Automation Pipelines, CSS Build Tools.

Care sunt câteva alternative open-source pentru purifycss/purifycss?

Alternativele open-source pentru purifycss/purifycss includ: 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…