prettier

    prettier/prettier

    #177 this week

    Prettier is an opinionated code formatter.

    frontend
    developer-tools
    api
    documentation
    angular
    ast
    css
    flow
    formatter
    JavaScript
    MIT
    52.4K stars
    5.0K forks
    52.4K GitHub watchers
    Updated Oct 13, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    Ranks #10 among Frontend repositories tracked this week, and #3 over the last 30 days; #177 of 1,950 repositories GStars tracks this week (top 9%).

    5 releases in the last 90 days, the latest 3 days ago, with 432 contributors on GitHub.

    The biggest single-day gain in the last year, +82 stars on Jul 10, coincided with release 3.9.5.

    Use Cases & Benefits

    • Formats source code consistently by parsing and reprinting it with opinionated style rules across multiple languages.
    • Eliminates style debates by enforcing a uniform code style automatically, reducing manual formatting effort.
    • Use for automatically formatting JavaScript and TypeScript code on save in development editors.
    • Use for integrating consistent code style enforcement in CI pipelines to maintain codebase quality.
    • Ideal for formatting markup and style files like HTML, CSS, SCSS, and JSON in web projects.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    MIT

    Permissive: commercial use, modification and redistribution are allowed with attribution.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    No watch-outs from GStars' checks.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.

    Prettier can be run in your editor on-save, in a pre-commit hook, or in CI environments to ensure your codebase has a consistent style without devs ever having to post a nit-picky comment on a code review ever again!

    Excerpt from the prettier/prettier README on GitHub (MIT license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Jul 17: -1Jul 18: +5Jul 19: -3Jul 20: +5Jul 21: +2Jul 22: +1Jul 23: +3Jul 24: +8Jul 25: +15Jul 26: +5Jul 27: +3Jul 28: +4Jul 29: +6Jul 30: +3Jul 31: +7Aug 1: +4Aug 2: +5Aug 3: +2Sep 1: -2Sep 14: +8Sep 15: +4Sep 16: +67Sep 17: +48Sep 18: -103Sep 19: +3Sep 23: +0Sep 24: +8Sep 25: +6Sep 26: +1

    +347 stars over 90 days across 35 snapshot days; best day +67 on Sep 16.

    Forks

    5.0K+182

    Open issues

    1.4K+13

    Compared with peers in Frontend

    Fastest-growing repositories GStars tracks in this cohort for the week of Oct 11, by 7-day star growth

    prettier/prettier compared with Frontend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    DuarteSantos8/openGym11.1K+5.4K603 days ago
    heygen-com/hyperframes62.8K+4.7K45today
    vxcontrol/pentagi28.2K+2.7K758 days ago
    Leonxlnx/taste-skill94.5K+2.2K75—
    remotion-dev/remotion63.9K+1.7K751 day ago
    prettier/prettier52.4K+0753 days ago
    Category median62.8K+2.7K75—

    Discover Repositories

    Search across tracked repositories by name or description