awesome-repositories.com
ब्लॉग
MCP
awesome-repositories.com

AI-संचालित खोज के साथ बेहतरीन ओपन-सोर्स रिपॉजिटरी खोजें।

एक्सप्लोर करेंक्यूरेटेड खोजेंओपन-सोर्स विकल्पसेल्फ-होस्टेड सॉफ्टवेयरब्लॉगसाइटमैप
प्रोजेक्टहमारे बारे मेंहम रैंकिंग कैसे करते हैंप्रेसMCP सर्वर
कानूनीगोपनीयताशर्तें
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
FullHuman avatar

FullHuman/purgecss

0
View on GitHub↗
8,043 स्टार्स·244 फोर्क्स·TypeScript·MIT·2 व्यूज़purgecss.com↗

Purgecss

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 removal of unused styles to be integrated directly into module bundlers and task runners. It also includes a custom-whitelist filter to preserve essential selectors regardless of whether they are detected during the content scan.

Features

  • CSS Selector Purging - Removes CSS rules whose selectors do not match any elements found during the static content scan.
  • Content Pattern Matching - Uses regex-based pattern matching to identify potential CSS class names within HTML and JavaScript files.
  • CSS AST Transformations - Employs a PostCSS-based AST transformation to safely remove unused rules from the stylesheet structure.
  • Markup Usage Analysis - Scans HTML and JavaScript files to create a comprehensive list of all CSS selectors used in the markup.
  • CSS Payload Reduction - Reduces the total byte size of delivered CSS by purging redundant and unused rules.
  • CSS Unused Style Removers - Automates the removal of unused styles by integrating with module bundlers and task runners.
  • CSS Build Tools - Acts as a build-time engine that scans source files to optimize and compile CSS styles.
  • Frontend Build Toolchains - Integrates style cleanup directly into the frontend build toolchain for automated deployment.
  • Build Tool Integrations - Integrates directly as an extension within common build systems to automate stylesheet optimization.
  • CSS Selector Whitelists - Provides a whitelist filter to ensure essential CSS selectors are preserved regardless of content analysis.
  • Web Performance Tuning - Eliminates dead CSS code to decrease browser rendering time and minimize data transfer.
  • CSS Optimization - Remove unused CSS to reduce file size.

स्टार हिस्ट्री

fullhuman/purgecss के लिए स्टार हिस्ट्री चार्टfullhuman/purgecss के लिए स्टार हिस्ट्री चार्ट

AI सर्च

और अधिक बेहतरीन रिपॉजिटरी खोजें

अपनी ज़रूरत को सरल भाषा में बताएं — AI हजारों क्यूरेटेड ओपन-सोर्स प्रोजेक्ट्स को प्रासंगिकता के आधार पर रैंक करता है।

Start searching with AI

अक्सर पूछे जाने वाले प्रश्न

fullhuman/purgecss क्या करता है?

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.

fullhuman/purgecss की मुख्य विशेषताएं क्या हैं?

fullhuman/purgecss की मुख्य विशेषताएं हैं: CSS Selector Purging, Content Pattern Matching, CSS AST Transformations, Markup Usage Analysis, CSS Payload Reduction, CSS Unused Style Removers, CSS Build Tools, Frontend Build Toolchains।

fullhuman/purgecss के कुछ ओपन-सोर्स विकल्प क्या हैं?

fullhuman/purgecss के ओपन-सोर्स विकल्पों में शामिल हैं: uncss/uncss — Uncss is a build pipeline CSS optimizer and optimization tool designed to remove unused styles from stylesheets. It… purifycss/purifycss — PurifyCSS is a CSS unused style remover and payload optimizer that analyzes HTML and templates to identify and delete… uncss/grunt-uncss — grunt-uncss is a CSS dead code eliminator and static analysis build tool. It functions as a Grunt CSS optimization… windicss/windicss — Windi CSS is a utility-first CSS framework that generates only the CSS classes actually used in a project, scanning… 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…

Purgecss के ओपन-सोर्स विकल्प

समान ओपन-सोर्स प्रोजेक्ट्स, जो Purgecss के साथ साझा की गई सुविधाओं के आधार पर रैंक किए गए हैं।
  • uncss/uncssuncss का अवतार

    uncss/uncss

    9,408GitHub पर देखें↗

    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
    GitHub पर देखें↗9,408
  • purifycss/purifycsspurifycss का अवतार

    purifycss/purifycss

    9,863GitHub पर देखें↗

    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

    JavaScript
    GitHub पर देखें↗9,863
  • uncss/grunt-uncssuncss का अवतार

    uncss/grunt-uncss

    3,795GitHub पर देखें↗

    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
    GitHub पर देखें↗3,795
  • windicss/windicsswindicss का अवतार

    windicss/windicss

    6,515GitHub पर देखें↗

    Windi CSS is a utility-first CSS framework that generates only the CSS classes actually used in a project, scanning source files at build time to produce smaller, optimized stylesheets. It provides on-demand style generation through static analysis of HTML and template files, eliminating unused styles for leaner output. The framework offers a plugin-based extension system for adding custom utilities, variants, and design tokens without modifying the core. It includes built-in compatibility for migrating from Tailwind CSS, removing Tailwind-specific dependencies and configuration fields while

    TypeScriptcsscss-compileron-demand
    GitHub पर देखें↗6,515
Purgecss के सभी 30 विकल्प देखें→