@tofrankie/prettier-plugin-compact-markdown-table weekly downloads statistics
By tofrankie · npm · Prettier plugins
Prettier plugin for compact markdown tables without cell padding or alignment
@tofrankie/prettier-plugin-compact-markdown-table has 15 recorded weekly downloads on npm, a decrease of 60.5% over the past 30 days, ranking #3050 of 3,247 tracked listings.
About @tofrankie/prettier-plugin-compact-markdown-table
prettier-plugin-compact-markdown-table
Forked from myl7/prettier-plugin-compact-markdown-table
Prettier plugin for compact markdown tables without column alignment
Resolves prettier/prettier#12074, prettier/prettier#14722, prettier/prettier#16954.
Features
- Compact tables: Reduce separators and avoid column alignment while preserving readable cell spacing by default.
- 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 install @tofrankie/prettier-plugin-compact-markdown-table -D
Add the plugin to your prettier.config.js:
export default {
plugins: ['@tofrankie/prettier-plugin-compact-markdown-table'],
}
Or import the default plugin object:
import compactMarkdownTablePlugin from '@tofrankie/prettier-plugin-compact-markdown-table'
export default {
plugins: [compactMarkdownTablePlugin],
}
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) | Compact layout with one space around each cell. |
compact-no-padding | Compact layout without cell padding. |
aligned | Pad cells to align columns (Prettier default). |
Set in prettier.config.js:
export default {
tableLayout: 'compact'
}
Or pass via CLI:
prettier --table-layout aligned --write "**/*.md"
License
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 (170)Similar npm Prettier plugins plugins
All 20 @tofrankie/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/@tofrankie/prettier-plugin-compact-markdown-table. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.