Skip to content
PluginStats

@vip30/prettier-plugin-nginx weekly downloads statistics

By vip30 · npm · Prettier plugins

NGINX configuration plugin for Prettier

View on npm Fresh · Dec 6, 2026

@vip30/prettier-plugin-nginx has 10 recorded weekly downloads on npm, an increase of 900% over the past 30 days, ranking #3133 of 3,247 tracked listings.

Weekly downloads
10
Official API · Dec 5, 2026
7-day growth
-91.2%
-103 weekly downloads
30-day growth
+900%
+9 weekly downloads
90-day growth
+400%
+8 weekly downloads
Rank
#3133
▼ 646 in 7 days

About @vip30/prettier-plugin-nginx

<div align="center"> <img src="./.github/images/prettier-plugin-nginx.png" alt="Banner"> </div> <h1 align="center">Prettier for NGINX</h1> <hr>

This TypeScript module is a plugin for Prettier that beautifies NGINX configuration files. It is written in TypeScript, and depends only on Prettier.

Getting Started

Install Prettier, and then install this plugin from npm:

npm install -g prettier-plugin-nginx

This plugin is configured to run on files with the extension .nginx or .nginxconf. For plugin-level configuration, see Configuration.

Modules that extend NGINX to include other languages within configuration files, such as lua-nginx-module, will not work with this formatter.

Example

A messy file like this...

server {
# server definition
listen 443 ssl; listen [::]:443 ssl;
server_name example.com;
location / { proxy_pass http://proxy; proxy_set_header Host $http_host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_read_timeout 1000; }
# end server definition
}

...is transformed to this:

server {
  # server definition
  listen      443 ssl;
  listen      [::]:443 ssl;
  server_name example.com;

  location / {
    proxy_pass         http://proxy;
    proxy_set_header   Host $http_host;
    proxy_set_header   X-Real-IP $remote_addr;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header   X-Forwarded-Proto $scheme;
    proxy_read_timeout 1000;
  }
  # end server definition
}

Configuration

This plugin, like Prettier, is opinionated. The following options are available, with defaults modelled after the configuration examples in the NGINX docs.

API OptionCLI OptionDefaultDescription
printWidth--print-widthSame option as in Prettier
tabWidth--tab-widthSame option as in Prettier
useTabs--use-tabsSame option as in Prettier
alignDirectives--align-directivestrueAlign directive parameters within a block to the same column.
alignUniversally--align-universallyfalseAlign all directive parameters within a file to the same column.
wrapParameters--wrap-parameterstrueWrap parameters to new lines to fit print width.
continuationIndent--continuation-indent2Additional indentation for wrapped lines.

Contributing

Bug reports and pull requests are welcome on GitHub.

License

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

Description from the npm listing.

  • nginx
  • prettier
  • prettier-plugin
  • configuration
  • format
  • autoformat
  • autoformatter

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

@vip30/prettier-plugin-nginx weekly downloads on npm, last 90 days: 10 weekly downloads as of Dec 5, 2026, +400% over 90 days.@vip30/prettier-plugin-nginxWeekly downloads on npm · Last 90 days10downloads / week+400% over 90 days020406080100120Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@vip30/prettier-plugin-nginx weekly downloads on npm, last 90 days: 10 weekly downloads as of Dec 5, 2026, +400% over 90 days.

7/30/90-day growth

@vip30/prettier-plugin-nginx weekly downloads growth on npm: -91.2% over 7 days, +900% over 30 days, +400% over 90 days.@vip30/prettier-plugin-nginxWeekly downloads growth on npm10downloads / week now7-day growth-103 weekly downloads-91.2%30-day growth+9 weekly downloads+900%90-day growth+8 weekly downloads+400%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@vip30/prettier-plugin-nginx weekly downloads growth on npm: -91.2% over 7 days, +900% over 30 days, +400% over 90 days.

Ranking history

@vip30/prettier-plugin-nginx npm ranking history: currently #3133 (by weekly downloads).@vip30/prettier-plugin-nginxnpm ranking · by weekly downloads · Last 90 days#3133current rank#1800#2000#2200#2400#2600#2800#3000#3200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@vip30/prettier-plugin-nginx npm ranking history: currently #3133 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 157, #15 (overall #3,135)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 12, #7 (overall #227)
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 @vip30/prettier-plugin-nginx
Date (UTC)Weekly downloadsChange vs. previous
10+2
8-6
14+3
11-97
108-2
1100
110-3
113+1
112+4
1080
108+99
9+2
70
7—

Similar npm Prettier plugins plugins

All 20 @vip30/prettier-plugin-nginx 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/@vip30/prettier-plugin-nginx. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.