Skip to content
PluginStats

@beardcoder/prettier-plugin-fluid weekly downloads statistics

By beardcoder · npm · Prettier plugins

Prettier plugin for TYPO3 Fluid templates that plays nicely with other HTML plugins

View on npm Fresh · Dec 6, 2026

@beardcoder/prettier-plugin-fluid has 108 recorded weekly downloads on npm, an increase of 440% over the past 30 days, ranking #2610 of 3,247 tracked listings.

Weekly downloads
108
Official API · Dec 5, 2026
7-day growth
+50.0%
+36 weekly downloads
30-day growth
+440%
+88 weekly downloads
90-day growth
—
Insufficient history
Rank
#2610
▼ 56 in 7 days

About @beardcoder/prettier-plugin-fluid

@beardcoder/prettier-plugin-fluid

npm CI

Prettier plugin for TYPO3 Fluid templates.

  • Plays nicely with other plugins. The HTML structure is formatted by Prettier's own html parser, so plugins that hook into it keep working, such as attribute sorting and Tailwind class sorting.
  • Never touches your Fluid code. Shorthand syntax like {item.title -> f:format.crop(maxCharacters: 20)} is kept byte-for-byte, including arbitrarily nested inline syntax and escaped quotes: {f:if(condition: '{a}', then: '{f:translate(key: \'x\')}')}.
  • Understands ViewHelpers. Structural tags (f:if, f:for, f:section, …) are laid out as blocks. Inline ones (f:link.*, f:translate, …) behave like <a>. Custom ViewHelpers are configurable.
  • Formats inline assets. The content of <f:asset.css> and <f:asset.script> is formatted as CSS and JavaScript, just like <style> and <script>.
  • Safe by design. Some parts are kept verbatim: <f:comment> content (its lines only move with the comment's indentation), CDATA sections, conditional wrappers like <f:if …><div></f:if>, and <script>/<style>/<f:asset.*> blocks that contain Fluid code. If formatting would ever drop Fluid code, the plugin fails instead of writing the file.
  • Helpful errors. When a template is invalid HTML, the error points at the line and column in your template.

Installation

bun add -d prettier @beardcoder/prettier-plugin-fluid
# or
npm install --save-dev prettier @beardcoder/prettier-plugin-fluid

Requires Prettier 3 and Node.js 20 or later, or Bun.

Fluid templates are usually plain .html files, so assign the fluid parser to them in your Prettier config (.prettierrc.json):

{
  "plugins": ["@beardcoder/prettier-plugin-fluid"],
  "overrides": [
    {
      "files": [
        "**/Resources/Private/**/{Templates,Layouts,Partials,Components,PageView}/**/*.html",
        "**/ContentBlocks/**/templates/**/*.html"
      ],
      "options": { "parser": "fluid" }
    }
  ]
}

These are the same locations the Fluid extension for VS Code treats as Fluid templates. Files ending in .fluid or .fluid.html are detected automatically (.fluid.html from Prettier 3.6 on; older versions treat it as .html, so assign the parser via overrides there).

bunx prettier --write "**/Resources/Private/**/*.html"

Only HTML templates are supported. Plain-text templates (e.g. *.fluid.txt for text emails) are not formatted: an HTML formatter would change their line breaks.

VS Code

Install the Prettier extension and the Fluid extension. The Fluid extension marks HTML templates with the language html-fluid, which this plugin registers for. Prettier then formats them on save:

{
  "[html-fluid]": {
    "editor.defaultFormatter": "esbenp.prettier-vscode",
    "editor.formatOnSave": true
  }
}

Sorting attributes

Use prettier-plugin-organize-attributes. It sorts attributes on HTML tags and on ViewHelper tags. This order suits Fluid templates: the attributes that identify a ViewHelper call come first, then everything else alphabetically.

{
  "plugins": [
    "@beardcoder/prettier-plugin-fluid",
    "prettier-plugin-organize-attributes"
  ],
  "attributeGroups": [
    "^data-namespace-typo3-fluid$",
    "^xmlns$",
    "^partial$",
    "^section$",
    "^name$",
    "^type$",
    "^each$",
    "^as$",
    "^key$",
    "^tagName$",
    "^src$",
    "$DEFAULT"
  ],
  "attributeSort": "ASC",
  "attributeIgnoreCase": true
}

organize-attributes matches namespaced attributes by their local name only: xmlns:ce is sorted as ce, so it would end up before data-namespace-typo3-fluid. That is why data-namespace-typo3-fluid needs a group of its own at the start. A ^xmlns group only matches a plain xmlns attribute.

Tailwind CSS

Add prettier-plugin-tailwindcss as the last plugin. It chains organize-attributes internally:

{
  "plugins": [
    "@beardcoder/prettier-plugin-fluid",
    "prettier-plugin-organize-attributes",
    "prettier-plugin-tailwindcss"
  ]
}

Tailwind treats Fluid expressions inside class as unknown classes and moves them to the front.

Options…

Description from the npm listing.

  • fluid
  • fluid-templates
  • formatter
  • prettier
  • prettier-plugin
  • typo3

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

@beardcoder/prettier-plugin-fluid weekly downloads on npm, last 90 days: 108 weekly downloads as of Dec 5, 2026.@beardcoder/prettier-plugin-fluidWeekly downloads on npm · Last 90 days108downloads / week05001K1.5K2K2.5K3K3.5KSep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
@beardcoder/prettier-plugin-fluid weekly downloads on npm, last 90 days: 108 weekly downloads as of Dec 5, 2026.

7/30/90-day growth

@beardcoder/prettier-plugin-fluid weekly downloads growth on npm: +50.0% over 7 days, +440% over 30 days, 90-day growth unavailable.@beardcoder/prettier-plugin-fluidWeekly downloads growth on npm108downloads / week now7-day growth+36 weekly downloads+50.0%30-day growth+88 weekly downloads+440%90-day growth+108 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
@beardcoder/prettier-plugin-fluid weekly downloads growth on npm: +50.0% over 7 days, +440% over 30 days, 90-day growth unavailable.

Ranking history

@beardcoder/prettier-plugin-fluid npm ranking history: currently #2610 (by weekly downloads).@beardcoder/prettier-plugin-fluidnpm ranking · by weekly downloads · Last 90 days#2610current rank#1800#2000#2200#2400#2600#2800Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 44 observations · Updated Dec 5, 2026pluginstats.com
@beardcoder/prettier-plugin-fluid npm ranking history: currently #2610 (by weekly downloads).

Listing placement

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

Listing placement

Prettier plugins267 listings · 14 pages · page 5, #8 (overall #88)
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 @beardcoder/prettier-plugin-fluid
Date (UTC)Weekly downloadsChange vs. previous
108+40
68+5
63-8
71+4
67+3
64-23
87+15
72+5
67-6
73+13
60+2
58-4
62+25
37—

Similar npm Prettier plugins plugins

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