Prettier

JSON →
library 3.3.3 ·javascript
verified Jun 4, 2026

Prettier is an opinionated code formatter that enforces a consistent style by parsing code and reprinting it with own rules. Version 3.3.3 (stable) requires Node >=14. It supports JavaScript, TypeScript, Flow, JSX, JSON, CSS, SCSS, Less, HTML, Vue, Angular, GraphQL, Markdown, YAML, and many more via plugins. Released monthly, it runs in editors, pre-commit hooks, and CI. Its key differentiator vs alternatives (ESLint, dprint) is that it reformats entire files deterministically with minimal configuration.