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 · Oct 18, 2026

prettier-plugin-toml has 68,469 recorded weekly downloads on npm, a decrease of 44.9% over the past 30 days, ranking #527 of 2,322 tracked listings.

Weekly downloads
68,469
Official API · Oct 18, 2026
7-day growth
-41.2%
-47.9K weekly downloads
30-day growth
-44.9%
-55.9K weekly downloads
90-day growth
-6.0%
-4.4K weekly downloads
Rank
#527
Among tracked npm listings

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: 68,469 weekly downloads as of Oct 18, 2026, -6.0% over 90 days.prettier-plugin-tomlWeekly downloads on npm · Last 90 days68,469downloads / week-6.0% over 90 days050K100K150K200K250K300KJul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
prettier-plugin-toml weekly downloads on npm, last 90 days: 68,469 weekly downloads as of Oct 18, 2026, -6.0% over 90 days.

7/30/90-day growth

prettier-plugin-toml weekly downloads growth on npm: -41.2% over 7 days, -44.9% over 30 days, -6.0% over 90 days.prettier-plugin-tomlWeekly downloads growth on npm68,469downloads / week now7-day growth-47,892 weekly downloads-41.2%30-day growth-55,903 weekly downloads-44.9%90-day growth-4,400 weekly downloads-6.0%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
prettier-plugin-toml weekly downloads growth on npm: -41.2% over 7 days, -44.9% over 30 days, -6.0% over 90 days.

Ranking history

prettier-plugin-toml npm ranking history: currently #527 (by weekly downloads).prettier-plugin-tomlnpm ranking · by weekly downloads · Last 90 days#527current rank#524#526#528#530#532#534#536#538#540Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 18, 2026 – Oct 20, 2026 · 3 observations · Updated Oct 18, 2026pluginstats.com
prettier-plugin-toml npm ranking history: currently #527 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 27, #7 (overall #527)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins244 listings · 13 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 (122)
Recent weekly downloads observations for prettier-plugin-toml
Date (UTC)Weekly downloadsChange vs. previous
68,469+12.6K
55,823-12.4K
68,245+1.2K
67,071-24.6K
91,718-22.4K
114,1420
114,142-2.2K
116,361-2.9K
119,280-3.9K
123,222-7.6K
130,783-16.4K
147,212+2.2K
144,990-24.3K
169,322—

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 Oct 20, 2026. See the methodology.