Preparing for system design interviews?  Try bugzed.com →

prettier-plugin-angular

JSON →
library 0.3.2 ·javascript
verified Jun 17, 2026

A Prettier plugin for formatting Angular HTML templates by aligning attributes on multiple lines using minimum line breaks, sorting attributes by category (ref, structural, twoWay, input, output, animation, static, boolean), outputting self-closing elements, and formatting Angular control flow blocks (@if, @for, etc.). Current stable version is 0.3.2, released on npm with Prettier >=3.0.0 as a peer dependency. Key differentiators include attribute alignment strategies (single-line, aligned, fallback), configurable attribute order via angularAttributeOrder, and built-in handling of Angular-specific syntax. Ships TypeScript type declarations.

total hits 9
actors 3 distinct systems
last hit 16d ago AhrefsBot
GPTBot
4
Script
1

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇩🇪 Germany