prettier-plugin-compact-markdown-table weekly downloads statistics
By myl7 · npm · Prettier plugins
Prettier plugin for compact markdown tables without cell padding or alignment
prettier-plugin-compact-markdown-table has 2,280 recorded weekly downloads on npm, a decrease of 45.4% over the past 30 days, ranking #1303 of 2,322 tracked listings.
About prettier-plugin-compact-markdown-table
prettier-plugin-compact-markdown-table
Prettier plugin for compact markdown tables without cell padding or alignment
Resolves prettier/prettier#12074, prettier/prettier#14722, prettier/prettier#16954.
Features
- Compact tables: Strip all whitespace padding or alignment and reduce separators for table cells.
- Save LLM tokens: A 5-column, 10-row table saves ~21% of table tokens and ~32% of characters with compact formatting.
- Fit character limits: Useful for submissions with strict character budgets, e.g., OpenReview rebuttals capped at 5000 characters.
Prerequisites
- Prettier >= 3.0.0
Get Started
Install the plugin alongside Prettier:
# npm
npm install -D prettier-plugin-compact-markdown-table
# pnpm
pnpm add -D prettier-plugin-compact-markdown-table
Add the plugin to your .prettierrc:
{
"plugins": ["prettier-plugin-compact-markdown-table"]
}
Then format as usual:
prettier --write "**/*.md"
Before:
| Name | Age | City |
| ----- | --- | ---- |
| Alice | 30 | NYC |
| Bob | 25 | LA |
After:
|Name|Age|City|
|-|-|-|
|Alice|30|NYC|
|Bob|25|LA|
Config
tableLayout
| Value | Description |
|---|---|
"compact" (default) | No cell padding, minimal separators. |
"aligned" | Pad cells to align columns (Prettier default). |
Set in .prettierrc:
{
"tableLayout": "compact"
}
Or pass via CLI:
prettier --table-layout aligned --write "**/*.md"
Licenses
Copyright (C) 2026 Yulong Ming i@myl7.org
Apache License, Version 2.0
Description from the npm listing.
- prettier-plugin
- markdown
- markdown-table
- token-optimization
- prompt-engineering
- formatter
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
7/30/90-day growth
Ranking history
Listing placement
Listing placement
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)Similar npm Prettier plugins plugins
All 20 prettier-plugin-compact-markdown-table alternativesData 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-compact-markdown-table. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.