prettier-plugin-tailwindcss-canonical-classes

JSON →
library 0.1.4 ·javascript
verified May 27, 2026

Prettier plugin (v0.1.4) that automatically converts non-canonical Tailwind CSS v4 classes (e.g., mt-[16px] → mt-4) to their design-system-native equivalents. Requires Prettier ^3.0.0 and Tailwind CSS ^4.0.0. Ships TypeScript types. Differentiates from official sorting plugin by focusing on canonicalization rather than sorting; both can be chained. Active development with frequent releases. Node.js >= 18 required.

total hits 27
actors 8 distinct systems
last hit 4d ago human
Amazonbot
4
MetaBot
4
GPTBot
2
Script
1
ClaudeBot
1
Search engines
1
Humans
2

top countries 🇺🇸 United States · 🇳🇱 Netherlands · 🇫🇮 Finland · 🇨🇦 Canada · 🇩🇪 Germany