driftjs-prettier-plugin weekly downloads statistics
By hrutavmodha (2 listings) · npm · Prettier plugins
Prettier plugin for formatting DriftJS (.drift) Single File Components.
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.
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.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
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)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.