prettier-plugin-toml weekly downloads statistics
By un-ts (5 listings) · npm · Prettier plugins
An opinionated `toml` formatter plugin for Prettier
prettier-plugin-toml has 55,823 recorded weekly downloads on npm, a decrease of 57.1% over the past 30 days.
It ranks #537 of 2,251 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by -27.9%.
PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.
About prettier-plugin-toml
prettier-plugin-toml
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:
Usage
Once installed, Prettier plugins must be added to .prettierrc:
Then:
Configuration
Besides the options below, this plugin reads [tombi][]'s own configuration, following its [search priority][tombi-config]:
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 order, each step overriding the previous one:
1. Tombi's and Prettier's defaults. 2. The discovered configuration's [format.rules]. 3. Prettier options that are explicitly set — a value equal to Prettier's default (for example printWidth: 80) does not count as explicit. 4. The discovered configuration's per-file [[overrides]], applied by Tombi last.
Notes
• Tombi's schema lookup is always disabled, so formatting stays offline and deterministic. • Discovered configuration files are cached per directory and polled (best effort), so edits to them apply without restarting the process. A newly created project configuration applies on the next run.
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 and can be used to override the inherited values:
Sponsors and Backers
Sponsors
| 1stG | RxTS | UnTS |
| | | |
Backers
| 1stG | RxTS | UnTS |
| | | |
Changelog
Detailed changes for each release are documented in CHANGELOG.md.
License
[MIT][] © [Ray][]@[mk1.io][]
Description from the npm listing.
- toml
- plugin
- prettier
- prettier-plugin
Where prettier-plugin-toml 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/prettier-plugin-toml. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.