Skip to content
PluginStats

prettier-plugin-postgresql-rs weekly downloads statistics

By jeromedg-dlh · npm · Prettier plugins

Prettier plugin for PostgreSQL, powered by the Rust pgsqlfmt formatter

View on npm Fresh · Oct 17, 2026

prettier-plugin-postgresql-rs has 4 recorded weekly downloads on npm.

It ranks #2048 of 2,251 tracked npm listings by weekly downloads.

Over the past 7 days it changed by -97.3%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
4
Official API · Oct 17, 2026
7-day growth
-97.3%
-145 weekly downloads
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#2048
Among tracked npm listings

About prettier-plugin-postgresql-rs

prettier-plugin-postgresql-rs

A Prettier plugin for PostgreSQL. Formatting is done by the Rust pgsqlfmt crate, compiled to a native Node addon with napi-rs.

Install

Requires Prettier 3.

Prerelease: the current next build (0.1.0-alpha.x) only includes a binary for macOS on Apple Silicon (arm64). Binaries for macOS x64, Linux x64 (glibc) and Windows x64 are planned for the first stable release.

Usage

Add the plugin to your Prettier config:

Files ending in .sql, .pgsql and .psql are then formatted automatically:

To use the plugin for other files, set "parser": "postgresql" in an override.

Statements that pgsqlfmt cannot parse are left unchanged.

Options

| Option | Default | Description |

| pgKeywordCase | "upper" | Case of SQL keywords: "upper", "lower" or "preserve". | | pgCommaStyle | "trailing" | Comma position when items go one per line: "trailing" or "leading". |

Prettier's own printWidth and tabWidth are respected (tabWidth minimum 2).

Using the formatter directly

The native binding can also be used without Prettier:

Development

Requires a recent Rust toolchain and Node.js.

License

MIT

Description from the npm listing.

  • prettier
  • prettier-plugin
  • postgresql
  • postgres
  • pgsql
  • sql
  • formatter
  • napi-rs

Where prettier-plugin-postgresql-rs sits in the listing

Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

All npm2,248 listings · 113 pages · page 103, #9 (overall #2049)
All npm: every listing in weekly downloads order
PNG SVG
Prettier plugins241 listings · 13 pages · page 7, #16 (overall #136)
Prettier plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

prettier-plugin-postgresql-rs weekly downloads on npm, last 90 days: 4 weekly downloads as of Oct 17, 2026.prettier-plugin-postgresql-rsWeekly downloads on npm · Last 90 days4downloads / week020406080100120140160Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 20, 2026 – Oct 17, 2026 · 90 observations · Updated Oc…pluginstats.com
prettier-plugin-postgresql-rs weekly downloads on npm, last 90 days: 4 weekly downloads as of Oct 17, 2026.
PNG SVG

7/30/90-day growth

prettier-plugin-postgresql-rs weekly downloads growth on npm: -97.3% over 7 days, 30-day growth unavailable, 90-day growth unavailable.prettier-plugin-postgresql-rsWeekly downloads growth on npm4downloads / week now7-day growth-145 weekly downloads-97.3%30-day growth+4 weekly downloadsInsufficient history90-day growth+4 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-postgresql-rs weekly downloads growth on npm: -97.3% over 7 days, 30-day growth unavailable, 90-day growth unavailable.
PNG SVG

Ranking history

prettier-plugin-postgresql-rs npm ranking history: currently #2048 (by weekly downloads).prettier-plugin-postgresql-rsnpm ranking · by weekly downloads · Last 90 days#2048current rank#2046#2047#2048#2049#2050Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-postgresql-rs npm ranking history: currently #2048 (by weekly downloads).
PNG SVG

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Recent observations

Full history (121)
Recent weekly downloads observations for prettier-plugin-postgresql-rs
Date (UTC)Weekly downloadsChange vs. previous
4-1
5+1
4-4
8-3
110
11-140
151+2
149+1
1480
148+4
144+3
1410
141+141
0—

Similar npm Prettier plugins plugins

Data source

Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.

Listing: https://www.npmjs.com/package/prettier-plugin-postgresql-rs. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.