51.8k

Prettier

Prettier is an opinionated code formatter that enforces a consistent style by parsing your code and re-printing it with its own rules.

Prettier is built in JavaScript, distributed under the MIT License, 51.8k GitHub stars from 100 contributors, latest release 3.8.2.

When to use Prettier

Prettier is listed here as a Development project. The directory calls out Supports many languages, Integrates with most editors, Automates code styling as capabilities associated with it.

Other recorded traits for Prettier include Reduces on-going code review overhead, Configurable and extendable.

Besides Development, this page also files Prettier under Code Quality, Styling.

Prettier compared with

Records in this directory name ESLint, Stylelint, clang-format as products people compare with Prettier. That list is editorial metadata, not a claim that Prettier replaces each of them.

Open-source projects that mention Prettier are collected on a separate alternatives page.

What the Prettier stats reflect

GitHub currently shows 51.8k GitHub stars, about 100 contributors, 4.7k forks, 1.5k open issues, latest tracked release 3.8.2. Star and activity counts here are a snapshot used as a proxy for community adoption, not a quality score.

Stats refreshed

Language
JavaScript
Latest Release
3.8.2
License
MIT License

Our Newsletter

Get new Development tools right in your inbox

Get short emails with useful development projects, releases, and repos worth watching.


Key features of Prettier

  • Supports many languages
  • Integrates with most editors
  • Automates code styling
  • Reduces on-going code review overhead
  • Configurable and extendable

Recorded alternatives to Prettier

See open-source alternatives to Prettier

Compare with



Prettier on GitHub

Stars
51.8k
Contributors
100
Open Issues
1.5k
Forks
4.7k

Frequently asked questions

What is Prettier?

Prettier is an opinionated code formatter that enforces a consistent style by parsing your code and re-printing it with its own rules. This directory highlights Supports many languages, Integrates with most editors, Automates code styling.

Is Prettier free to use?

Prettier is published as open source under the MIT License. The directory lists Supports many languages, Integrates with most editors, Automates code styling among its recorded capabilities.

What language is Prettier written in, and what is the latest release?

Prettier is written primarily in JavaScript. The latest release tracked on this page is 3.8.2.

How widely is Prettier used on GitHub?

Prettier has about 51.8k GitHub stars across about 100 contributors. It also has about 4.7k forks. Those counts are a snapshot of community attention, not a ranking of quality.

What do people compare Prettier with?

This directory records ESLint, Stylelint, clang-format as comparison points for Prettier. A longer list of open-source projects that mention Prettier is at https://www.open-source-tools.com/alternatives/prettier.