Skip to content
PluginStats

driftjs-prettier-plugin weekly downloads statistics

By hrutavmodha (2 listings) · npm · Prettier plugins

Prettier plugin for formatting DriftJS (.drift) Single File Components.

View on npm Fresh · Oct 17, 2026

driftjs-prettier-plugin has 23 recorded weekly downloads on npm.

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

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

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

Weekly downloads
23
Official API · Oct 17, 2026
7-day growth
-93.3%
-319 weekly downloads
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#1811
Among tracked npm listings

About driftjs-prettier-plugin

driftjs-prettier-plugin

Official Prettier plugin for formatting DriftJS Single File Components (.drift).

Formats blocks (via Prettier's Babel parser), blocks (via Prettier's CSS parser), and DriftJS template markup with all directives (@if, @else if, @else, @for, @switch, @case, @default, @async, @fallback, @catch), dynamic interpolations, and attributes.

Features

• Drift SFC Formatting: Seamlessly parses and formats .drift Single File Components. • Embedded Languages: Formats logic with Babel and sheets with CSS parsers. • Directives Support: Formats all Drift template directives with clean block structures and indentation. • Dynamic Bindings: Formats dynamic interpolations {expr} and attribute bindings onclick={handler}. • Self-Closing Void Elements: Normalizes HTML void elements (, , , etc.). • Prettier v3 Compatible: Built natively for Prettier v3 plugin architecture.

Installation

Configuration

Add driftjs-prettier-plugin to your Prettier configuration file:

.prettierrc (JSON)

prettier.config.js (ESM)

Options

| Option | Type | Default | Description |

| driftScriptIndent | boolean | true | Whether to indent code inside blocks. | | driftStyleIndent | boolean | true | Whether to indent code inside blocks. | | driftSelfCloseVoid | boolean | true | Whether to self-close void HTML tags (e.g. vs ). |

CLI Usage

License

MIT (c) 2026 Hrutav Modha

Description from the npm listing.

  • driftjs
  • prettier
  • prettier-plugin
  • formatter
  • sfc

Where driftjs-prettier-plugin 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 91, #12 (overall #1812)
All npm: every listing in weekly downloads order
PNG SVG
Prettier plugins241 listings · 13 pages · page 5, #7 (overall #87)
Prettier plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

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

7/30/90-day growth

driftjs-prettier-plugin weekly downloads growth on npm: -93.3% over 7 days, 30-day growth unavailable, 90-day growth unavailable.driftjs-prettier-pluginWeekly downloads growth on npm23downloads / week now7-day growth-319 weekly downloads-93.3%30-day growth+23 weekly downloadsInsufficient history90-day growth+23 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
driftjs-prettier-plugin weekly downloads growth on npm: -93.3% over 7 days, 30-day growth unavailable, 90-day growth unavailable.
PNG SVG

Ranking history

driftjs-prettier-plugin npm ranking history: currently #1811 (by weekly downloads).driftjs-prettier-pluginnpm ranking · by weekly downloads · Last 90 days#1811current rank#1809#1810#1811#1812#1813Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
driftjs-prettier-plugin npm ranking history: currently #1811 (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 driftjs-prettier-plugin
Date (UTC)Weekly downloadsChange vs. previous
23-23
46-129
175-3
178-8
1860
186-10
196-146
342+20
322+127
1950
195+2
193-3
196+13
183—

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/driftjs-prettier-plugin. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.