Skip to content
PluginStats

prettier-plugin-toml weekly downloads statistics

By un-ts (5 listings) · npm · Prettier plugins

An opinionated `toml` formatter plugin for Prettier

View on npm Fresh · Dec 6, 2026

prettier-plugin-toml has 221,046 recorded weekly downloads on npm, an increase of 25.4% over the past 30 days, ranking #510 of 3,247 tracked listings.

Weekly downloads
221,046
Official API · Dec 5, 2026
7-day growth
+32.1%
+53.7K weekly downloads
30-day growth
+25.4%
+44.7K weekly downloads
90-day growth
+18.9%
+35.2K weekly downloads
Rank
#510
▲ 33 in 7 days

About prettier-plugin-toml

prettier-plugin-toml npm bundle size npm bundle size

An opinionated toml formatter plugin for [Prettier][]

Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing, taking various rules into account.

This plugin adds support for toml through [tombi][].

Notice

This plugin is still under development, its printer just wraps [tombi][]'s default printer. Of course it should just work, but may not match [prettier][]'s format sometimes.

Requirements

prettier-plugin-toml is an evergreen module. 🌲 This module requires an LTS Node version (v20.0.0+).

Install

Using npm:

# npm
npm i -D prettier prettier-plugin-toml

# yarn
yarn add -D prettier prettier-plugin-toml

Usage

Once installed, Prettier plugins must be added to .prettierrc:

{
  "plugins": ["prettier-plugin-toml"]
}

Then:

# npx
npx prettier --write foo.toml

# yarn
yarn prettier --write foo.toml

Configuration

Besides the options below, this plugin reads [tombi][]'s own configuration, following its [search priority][tombi-config]. Discovery and merging are delegated to tombit, which performs the search in Rust:

  1. Project — for each directory from the formatted file's directory up to the filesystem root: .tombi.toml, tombi.toml, .config/tombi.toml, then [tool.tombi] in pyproject.toml.
  2. User — $XDG_CONFIG_HOME/tombi/config.toml, ~/.config/tombi/config.toml, plus the platform specific ~/Library/Application Support/tombi/config.toml (macOS) or %APPDATA%\tombi\config.toml (Windows).
  3. System — /etc/tombi/config.toml.

The rules are resolved in ascending priority, each step overriding the previous one:

  1. The discovered configuration's base rules, including the plugin options the user did not set.
  2. Prettier's core options (printWidth, tabWidth, useTabs, singleQuote, bracketSpacing) and any plugin option the user explicitly sets, passed as overrideConfig.
  3. The discovered configuration's per-file [[overrides]], applied by Tombi last.

Prettier's core options are always resolved, so they win over the discovered base rules (a matching [[overrides]] can still override them, because Tombi applies overrides last): a tombi.toml line-width that differs from Prettier's printWidth does not change this plugin's output. If you also use the tombi CLI or the VS Code extension, set line-width in tombi.toml to the same value as printWidth so both produce the same output — with no configuration at all, Prettier defaults to 80 while tombi has no line width limit.

The plugin's own options have no defaults: when they are not set, the discovered configuration (or Tombi's default) decides, except stringQuoteStyle and inlineTableBraceSpaceWidth, which derive from Prettier's singleQuote/bracketSpacing. toml-version follows the same rule because it decides how the source is parsed.

Notes
  • Tombi's schema lookup is always disabled, so formatting stays offline and deterministic.
  • Resolved configurations are cached and invalidated when the configuration file or its directory changes, so edits apply without restarting the process.

Parser Options

[prettier][]'s own core options are inherited and mapped to their tombi counterparts where they exist:

  • printWidth → line-width
  • tabWidth → indent-width
  • useTabs → indent-style
  • singleQuote → string-quote-style
  • bracketSpacing → inline-table-brace-space-width

endOfLine is handled by [prettier][] itself. All of tombi's other format rules are exposed as toml options. They have no defaults: setting one overrides the discovered configuration, while leaving it unset lets tombi.toml (or Tombi's own default) decide — except stringQuoteStyle and inlineTableBraceSpaceWidth, which derive from the core options above.…

Description from the npm listing.

  • toml
  • plugin
  • prettier
  • prettier-plugin

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-toml weekly downloads on npm, last 90 days: 221,046 weekly downloads as of Dec 5, 2026, +18.9% over 90 days.prettier-plugin-tomlWeekly downloads on npm · Last 90 days221,046downloads / week+18.9% over 90 days050K100K150K200K250KSep 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-toml weekly downloads on npm, last 90 days: 221,046 weekly downloads as of Dec 5, 2026, +18.9% over 90 days.

7/30/90-day growth

prettier-plugin-toml weekly downloads growth on npm: +32.1% over 7 days, +25.4% over 30 days, +18.9% over 90 days.prettier-plugin-tomlWeekly downloads growth on npm221,046downloads / week now7-day growth+53,729 weekly downloads+32.1%30-day growth+44,747 weekly downloads+25.4%90-day growth+35,179 weekly downloads+18.9%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-toml weekly downloads growth on npm: +32.1% over 7 days, +25.4% over 30 days, +18.9% over 90 days.

Ranking history

prettier-plugin-toml npm ranking history: currently #510 (by weekly downloads).prettier-plugin-tomlnpm ranking · by weekly downloads · Last 90 days#510current rank#505#510#515#520#525#530#535#540#545Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
prettier-plugin-toml npm ranking history: currently #510 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,084 shown · page 26, #10 (overall #510)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 1, #5 (overall #5)
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-toml
Date (UTC)Weekly downloadsChange vs. previous
221,046+3.4K
217,641+7.9K
209,779+11K
198,811+12.2K
186,576+9.7K
176,879+5.8K
171,050+3.7K
167,317-5.5K
172,838-13.4K
186,224-7.5K
193,758-1.1K
194,862+3.8K
191,099-318
191,417—

Similar npm Prettier plugins plugins

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