Skip to content
PluginStats

prettier-plugin-xquery weekly downloads statistics

By DrRataplan · npm · Prettier plugins

Prettier plugin for XQuery files

View on npm Fresh · Oct 17, 2026

prettier-plugin-xquery has 207 recorded weekly downloads on npm, a decrease of 29.6% over the past 30 days.

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

Over 90 days, weekly downloads changed by -35.7%.

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

Weekly downloads
207
Official API · Oct 17, 2026
7-day growth
-43.3%
-158 weekly downloads
30-day growth
-29.6%
-87 weekly downloads
90-day growth
-35.7%
-115 weekly downloads
Rank
#1585
Among tracked npm listings

About prettier-plugin-xquery

Prettier for XQuery

prettier-plugin-xquery is a prettier plugin for XQuery. prettier is an opinionated code formatter that supports multiple languages and integrates with most editors. The idea is to eliminate discussions of style in code review and allow developers to get back to thinking about code design instead.

Demo

A demo page lives at xquery.elliat.nl.

Getting started

To run prettier with the XQuery plugin, you're going to need node.

If you're using the npm CLI, then add the plugin by:

Or if you're using yarn, then add the plugin by:

The prettier executable is now installed and ready for use:

Add a .prettierrc.js to save the configuration

Configuration

| API Option | CLI Option | Default | Description |

| printWidth | --print-width | 80 | Same as in Prettier (see prettier docs). | tabWidth | --tab-width | 2 | Same as in Prettier (see prettier docs). | singleQuote | --single-quote | false | Same as in Prettier (see prettier docs). | useTabs | --use-tabs | false | Same as in Prettier (see prettier docs).

Any of these can be added to your existing prettier configuration file. For example:

Or, they can be passed to prettier as arguments:

Ignoring

A prettier-ignore comment marks code as ignored for formatting. Like this:

Dialects

The following different extensions to XQuery will be picked up and formatted:

• The update node syntax in Exist DB: update insert element div {} into /, sponsored by ExistSolutions • XQuery Update Facility 3.0: insert node element div {} into /

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/drrataplan/prettier-plugin-xquery.

This plugin is under development, the following features are planned:

• Extensible parsers, for the different dialects of XQuery, like the customizations in MarkLogic • General stability. Refer to list of known test failures for a report of current known failing tests.

License

The package is available as open source under the terms of the MIT License.

Credits

This project uses the rex parser generator to parse XQuery.

Description from the npm listing.

  • prettier
  • prettier-plugin
  • xquery
  • xpath
  • xml
  • formatter
  • code-formatter
  • fonto
  • exist-db

Where prettier-plugin-xquery 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 80, #6 (overall #1586)
All npm: every listing in weekly downloads order
PNG SVG
Prettier plugins241 listings · 13 pages · page 3, #9 (overall #49)
Prettier plugins: every listing in weekly downloads order
PNG SVG

Charts

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

Adoption over time

prettier-plugin-xquery weekly downloads on npm, last 90 days: 207 weekly downloads as of Oct 17, 2026, -35.7% over 90 days.prettier-plugin-xqueryWeekly downloads on npm · Last 90 days207downloads / week-35.7% over 90 days0100200300400500Jul 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-xquery weekly downloads on npm, last 90 days: 207 weekly downloads as of Oct 17, 2026, -35.7% over 90 days.
PNG SVG

7/30/90-day growth

prettier-plugin-xquery weekly downloads growth on npm: -43.3% over 7 days, -29.6% over 30 days, -35.7% over 90 days.prettier-plugin-xqueryWeekly downloads growth on npm207downloads / week now7-day growth-158 weekly downloads-43.3%30-day growth-87 weekly downloads-29.6%90-day growth-115 weekly downloads-35.7%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-xquery weekly downloads growth on npm: -43.3% over 7 days, -29.6% over 30 days, -35.7% over 90 days.
PNG SVG

Ranking history

prettier-plugin-xquery npm ranking history: currently #1585 (by weekly downloads).prettier-plugin-xquerynpm ranking · by weekly downloads · Last 90 days#1585current rank#1583#1584#1585#1586#1587Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-xquery npm ranking history: currently #1585 (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-xquery
Date (UTC)Weekly downloadsChange vs. previous
207-23
230+17
213-95
308-109
4170
417+6
411+46
365+4
361+37
324+55
269+48
221-50
271+32
239—

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