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
·
tailwindlabs avatar

tailwindlabs/prettier-plugin-tailwindcss

0
View on GitHub↗
7,010 estrellas·174 forks·TypeScript·mit·3 vistas

Prettier Plugin Tailwindcss

This project is a Prettier plugin and Tailwind CSS class sorter that automatically organizes utility classes into a consistent and recommended order. It functions as a frontend styling formatter and CSS utility organizer, removing duplicate classes and sorting style attributes across HTML and JavaScript files.

The tool ensures consistent markup formatting by ordering utility classes within HTML attributes, template literals, JavaScript expressions, and custom framework props. It integrates with Tailwind CSS configuration files and stylesheets to synchronize sorting behavior with custom theme definitions and design tokens.

The system handles class list cleanup to remove unnecessary whitespace and provides a programmable interface for exposing sorting logic to external tools.

Features

  • Markup Class Sorters - Sorts classes in HTML attributes according to a consistent order to improve maintainability.
  • Prettier Plugins - Functions as a Prettier plugin to apply automated class sorting and cleanup during the document printing phase.
  • Style Formatters - Automatically rewrites utility class sequences in source code to adhere to a consistent visual and structural style.
  • Build Pipeline Plugins - Hooks into the Prettier formatting lifecycle to transform class strings during the print phase.
  • CSS Class Organizers - Provides automated sorting and deduplication of CSS utility classes to ensure consistent markup formatting.
  • Attribute Class Sorting - Reorders utility classes found within non-standard attributes or framework props.
  • Class Sorters - Automatically organizes Tailwind CSS utility classes into a recommended order across HTML and JavaScript files.
  • Configuration Synchronization - Reads custom theme and utility settings from Tailwind configuration files to ensure correct sorting.
  • Template Literal Class Sorters - Orders utility classes inside function calls or template literals.
  • Utility Class Sorters - Organizes Tailwind CSS utility classes in markup and style files based on a recommended order.
  • Expression Class Sorting - Reorders utility classes located within JavaScript expressions or class-merging functions.
  • Tailwind Class Organizers - Automatically sorts Tailwind CSS utility classes in HTML and framework files to maintain a predictable order.
  • Theme Customization - Orders utility classes based on custom design tokens and theme values defined in the configuration.
  • Utility Class Priority Mapping - Reads theme files to create weighted priority lists for sorting both standard and custom utility classes.
  • Class List Sanitizers - Removes duplicate classes and unnecessary whitespace from strings to maintain tidy HTML output.
  • Frontend Workflow Accelerators - Reduces manual effort in managing long lists of utility classes by automating their organization.
  • Pure Functional Logic Implementations - Implements sorting logic as pure functions to ensure deterministic results across different execution environments.
  • AST Traversal Engines - Implements a traversal engine to walk the abstract syntax tree and identify strings containing utility classes.
  • Regular Expression-Based Parsing - Uses regular expressions to extract individual utility classes from complex template literals and attributes.
  • Markup Formatting Standards - Ensures a consistent sequence of CSS classes across a project to improve readability and code reviews.
  • Herramientas de desarrollo - Official plugin for automatic class sorting in Prettier.

Historial de estrellas

Gráfico del historial de estrellas de tailwindlabs/prettier-plugin-tailwindcssGráfico del historial de estrellas de tailwindlabs/prettier-plugin-tailwindcss

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 tailwindlabs/prettier-plugin-tailwindcss?

This project is a Prettier plugin and Tailwind CSS class sorter that automatically organizes utility classes into a consistent and recommended order. It functions as a frontend styling formatter and CSS utility organizer, removing duplicate classes and sorting style attributes across HTML and JavaScript files.

¿Cuáles son las características principales de tailwindlabs/prettier-plugin-tailwindcss?

Las características principales de tailwindlabs/prettier-plugin-tailwindcss son: Markup Class Sorters, Prettier Plugins, Style Formatters, Build Pipeline Plugins, CSS Class Organizers, Attribute Class Sorting, Class Sorters, Configuration Synchronization.

¿Qué alternativas de código abierto existen para tailwindlabs/prettier-plugin-tailwindcss?

Las alternativas de código abierto para tailwindlabs/prettier-plugin-tailwindcss incluyen: shufo/vscode-blade-formatter — This is a code formatter for Blade template files that standardizes indentation and spacing within the VS Code editor.… parcel-bundler/parcel — Parcel is a web application bundler designed to automate the packaging of project assets for production. It functions… darrenburns/posting — Posting is a terminal-based HTTP request manager designed for developing, testing, and documenting API endpoints. It… trivago/prettier-plugin-sort-imports — This project is a Prettier plugin designed to alphabetize, group, and format module import statements in JavaScript… thomaspark/bootswatch — Bootswatch is a collection of pre-designed CSS themes and visual skins for the Bootstrap framework. It provides a set… jnsahaj/tweakcn — tweakcn is a web UI styling tool and frontend design editor used for client-side theme customization. It functions as…

Alternativas open-source a Prettier Plugin Tailwindcss

Proyectos open-source similares, clasificados según cuántas características comparten con Prettier Plugin Tailwindcss.
  • shufo/vscode-blade-formatterAvatar de shufo

    shufo/vscode-blade-formatter

    5,196Ver en GitHub↗

    This is a code formatter for Blade template files that standardizes indentation and spacing within the VS Code editor. It functions as a template formatter and HTML attribute sorter that cleans up syntax and layout based on custom or opinionated style rules. The tool differentiates itself by automatically organizing HTML attributes and sorting Tailwind CSS utility classes into a predictable order. It uses a JSON-configurable system to load project-specific rules and exclusion lists, enabling teams to synchronize code styles and prevent version control conflicts. Broad capabilities include ma

    TypeScriptformatterlaravelvscode
    Ver en GitHub↗5,196
  • parcel-bundler/parcelAvatar de parcel-bundler

    parcel-bundler/parcel

    44,032Ver en GitHub↗

    Parcel is a web application bundler designed to automate the packaging of project assets for production. It functions as a zero-configuration tool that detects dependencies and transforms source files into optimized output without requiring manual setup files. The project includes a built-in development server that supports incremental builds and hot module replacement to reflect code changes during the development cycle. The core of the system is a dependency graph resolver that maps relationships between modules to determine the structure of output bundles. This is supported by a modular as

    JavaScriptassetsbuild-toolcommonjs
    Ver en GitHub↗44,032
  • darrenburns/postingAvatar de darrenburns

    darrenburns/posting

    12,035Ver en GitHub↗

    Posting is a terminal-based HTTP request manager designed for developing, testing, and documenting API endpoints. It functions as a keyboard-driven interface that allows users to execute requests, manage collections, and inspect server responses directly within the command line environment. By storing request configurations as plain text files on the local filesystem, the tool ensures that API definitions remain compatible with standard version control systems. The project distinguishes itself by treating API collections as version-controlled assets, enabling users to migrate existing workflo

    Pythonautomationclideveloper-tools
    Ver en GitHub↗12,035
  • trivago/prettier-plugin-sort-importsAvatar de trivago

    trivago/prettier-plugin-sort-imports

    3,944Ver en GitHub↗

    This project is a Prettier plugin designed to alphabetize, group, and format module import statements in JavaScript and TypeScript files. It functions as an automated import organizer that ensures consistent declaration order and spacing across a project. The plugin uses custom regular expression patterns to sequence dependency imports into logical groups, allowing for the separation of internal and external modules. It supports the preservation of side-effect imports and provides the ability to sort individual named members within a single declaration by string length or alphabetization. Us

    TypeScripthacktoberfestimportjavascript
    Ver en GitHub↗3,944
Ver las 30 alternativas a Prettier Plugin Tailwindcss→