CodeBrowser / npm / prettier
prettier@3.9.5
// Prettier is an opinionated code formatter
$ npm install prettier
downloads/wk
112,621,602
license
MIT
version
3.9.5
published
Jul 9, 2026
What is prettier?
Prettier is a code formatter that automatically formats your code according to a consistent style, removing the need to manually enforce formatting rules. Developers use it to eliminate formatting discussions in code reviews and maintain uniform code style across projects without configuration overhead. It works with JavaScript, TypeScript, JSX, CSS, JSON, and other file types.
Maintainers
jlongster, lydell, thorn0, vjeux, fisker, suchipi, duailibe, ikatyang, azz, sosukesuzuki, prettier-bot