prettier-plugin-classnames
JSON →Prettier plugin (v0.10.1, active) that wraps long class name strings to fit within printWidth, supporting JSX, Vue, Angular, Svelte, Astro, CSS, SCSS, Less, and template literals. Requires Prettier ^3, Node >=18. Offers options like customAttributes, customFunctions, endingPosition, and a dedicated classnamesPrintWidth. Differentiates by handling class names across many languages and frameworks, with experimental optimizations and support for oxc and babel-ts parsers.
Traffic · last 30 days ↓75% vs prev 7d
total hits 19
actors 7 distinct systems
last hit 4d ago human
top countries 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada · 🇪🇸 Spain · 🇩🇪 Germany
Resources
API endpoints
compatibility /v1/registry/prettier-plugin-classnames/compatibility