OSS Tanbou

Prettier — a formatter that parses code and prints a consistent style

OSS health 92
About these scores

Discovery score is an unbounded weighted, log-compressed index of stars, watchers, forks, and contributors. Growth momentum is its change over the observed period; OSS health is a 0–100 score from available repository recency, Community Health, and release data.

Stars
52,253
Primary language
JavaScript
License
MIT
Repository last updated
Sep 13, 2026

Overview

Prettier is an opinionated formatter that parses source code and reprints it with its own rules, including maximum line length. It supports JavaScript, TypeScript, CSS, HTML, JSON, Markdown, YAML, and more through plugins.

Features and best fit

Based on official documentation; not hands-on tested · Content checked:

Apply the same formatting in editors, before commits, and in CI

It prints input into a consistent layout, including wrapping long expressions. Editor save hooks, pre-commit hooks, CI, the CLI, and the API can enforce the result and reduce repetitive style comments in reviews.

Sources: [1]

For automating style decisions across teams and file formats

It fits repositories that want to minimize hand-formatted differences across supported languages. Before formatting an existing codebase wholesale, define directories, ignored files, execution timing, and version pinning, then start with a small diff.

Sources: [1]

Adopt it as an opinionated consistency tool

Prettier deliberately reprints code with its own rules. Check whether each format is handled by core or a plugin, and review formatting separately from static analysis that detects semantic problems.

Sources: [1][2]

Official sources

  1. [1]Prettier README(2026-09-13)
  2. [2]Prettier GitHub repository(2026-09-13)
Supplemental curator note

Selected for placing supported formats in topics and the README while distributing a badge that generates links from downstream projects.

Growth

Growth trends · Last 30 days

52,253 Stars

Trend data is still being collected.

Development activity

Last 90 days · weekly

Commits (last 30 days)
122
Open PRs
271

Development activity is still being collected.

Built with

Categories and tags

Categories

GitHub data

GitHub dataView detailed GitHub data

GitHub Topics

  • formatter
  • printer
  • prettier
  • ast
  • javascript
  • flow
  • typescript
  • css
  • scss
  • less
  • jsx
  • vue
Stars
52,253
Forks
4,995
Watchers
450
Open issues
1,159
Primary language
JavaScript
License
MIT
Repository last updated
Sep 13, 2026
Report incorrect information

Tell us if any listing information is incorrect or outdated.