Skip to content
PluginStats

prettier-plugin-dbml weekly downloads statistics

By nice-move (5 listings) · npm · Prettier plugins

A `prettier` plugin for DBML

View on npm Fresh · Dec 6, 2026

prettier-plugin-dbml has 437 recorded weekly downloads on npm, an increase of 524% over the past 30 days, ranking #2294 of 3,247 tracked listings.

Weekly downloads
437
Official API · Dec 5, 2026
7-day growth
+499%
+364 weekly downloads
30-day growth
+524%
+367 weekly downloads
90-day growth
+2471%
+420 weekly downloads
Rank
#2294
▲ 257 in 7 days

About prettier-plugin-dbml

prettier-plugin-dbml

A prettier plugin for DBML.

npm github node

Installation

npm install prettier-plugin-dbml --save-dev

Usage

prettier --write *.dbml

Known Issues

Formatting is powered by @dbml/core. When formatting through Prettier, most syntax dropped by its parser/exporter is restored from the original source, with a few limitations:

  • TablePartial definitions are preserved, but their ~name references are still inlined into the tables that use them.
  • Only standalone comments at the start of a line are preserved; inline comments are dropped.
  • Preserved blocks are copied back verbatim rather than reformatted.
  • Comments are moved to the top of the file because the parser does not retain their positions.

Compatibility Workarounds

The parser/exporter needs a small amount of post-processing before the result is valid or stable DBML:

  • It quotes every identifier and writes Ref: without a following space. The plugin removes quotes around identifiers, keeps quoted string values (such as index names) and backtick expressions untouched, and restores the space after Ref:.
  • It resolves table aliases to their original table names in Ref lines. The plugin restores aliases with word boundaries so suffix matches such as users inside old_users are not rewritten.
  • It omits front matter, TablePartial, DiagramView, enum aliases, and top-level Records. The plugin keeps their original text and reattaches it around the exported body, which also avoids exporting enum record values as null when formatting through Prettier. Direct calls can pass the source as ast2dbml(ast, { source }); otherwise ast.source is used when present. BOM and CRLF in the provided source are normalized automatically.

Related

Description from the npm listing.

  • database
  • dbml
  • prettier
  • prettier-plugin
  • schema
  • sql

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

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

Adoption over time

prettier-plugin-dbml weekly downloads on npm, last 90 days: 437 weekly downloads as of Dec 5, 2026, +2471% over 90 days.prettier-plugin-dbmlWeekly downloads on npm · Last 90 days437downloads / week+2471% over 90 days0100200300400500Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
prettier-plugin-dbml weekly downloads on npm, last 90 days: 437 weekly downloads as of Dec 5, 2026, +2471% over 90 days.

7/30/90-day growth

prettier-plugin-dbml weekly downloads growth on npm: +499% over 7 days, +524% over 30 days, +2471% over 90 days.prettier-plugin-dbmlWeekly downloads growth on npm437downloads / week now7-day growth+364 weekly downloads+499%30-day growth+367 weekly downloads+524%90-day growth+420 weekly downloads+2471%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-dbml weekly downloads growth on npm: +499% over 7 days, +524% over 30 days, +2471% over 90 days.

Ranking history

prettier-plugin-dbml npm ranking history: currently #2294 (by weekly downloads).prettier-plugin-dbmlnpm ranking · by weekly downloads · Last 90 days#2294current rank#1600#1800#2000#2200#2400#2600#2800Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
prettier-plugin-dbml npm ranking history: currently #2294 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 115, #14 (overall #2,294)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 3, #16 (overall #56)
Prettier plugins: every listing in weekly downloads order

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.

Each band is one page of 20. Weekly downloads on a linear 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.

Recent observations

Full history (170)
Recent weekly downloads observations for prettier-plugin-dbml
Date (UTC)Weekly downloadsChange vs. previous
437+37
400+174
226+185
410
41-1
42-12
54-19
73+4
69+7
62-6
68-3
71+4
67-4
71—

Similar npm Prettier plugins plugins

All 20 prettier-plugin-dbml alternatives

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-dbml. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.