Skip to content
PluginStats

prettier-plugin-fusion weekly downloads statistics

By serpent213 · npm · Prettier plugins

Prettier plugin for Neos Fusion/AFX files

View on npm Fresh · Dec 6, 2026

prettier-plugin-fusion has 10 recorded weekly downloads on npm, an increase of 11.1% over the past 30 days, ranking #3134 of 3,247 tracked listings.

Weekly downloads
10
Official API · Dec 5, 2026
7-day growth
+66.7%
+4 weekly downloads
30-day growth
+11.1%
+1 weekly downloads
90-day growth
+150%
+6 weekly downloads
Rank
#3134
▼ 69 in 7 days

About prettier-plugin-fusion

Prettier plugin for Neos CMS Fusion/AFX files

ALPHA SOFTWARE – HANDLE WITH CARE! OUTPUT FORMAT NOT STABLE YET!

This is a Prettier plugin that understands Neos Fusion/AFX syntax through the ts-fusion-parser. The parser is production proven (it powers the Neos Fusion VS Code extension) and can parse Fusion code, embedded AFX markup, and inline (unparsed) Eel expressions.

The printer mirrors the parser’s object model and emits Prettier docs, which means Fusion statements, nested blocks, embedded AFX templates, and inline Eel expressions are formatted consistently.

Usage

npm install --save-dev prettier-plugin-fusion
yarn add--dev prettier-plugin-fusion
pnpm install --save-dev prettier-plugin-fusion
bun add --development prettier-plugin-fusion

Add to your .prettierrc.js:

module.exports = {
  plugins: [require.resolve("prettier-plugin-fusion")]
}

...and run:

# Format Fusion files in-place
prettier --write "src/**/*.fusion"

The plugin registers a fusion parser and handles .fusion files automatically. It ships a couple of parser options that mirror the ts-fusion-parser configuration:

OptionDefaultDescription
fusionContextPathundefinedOptional context path forwarded to the parser (defaults to Prettier's filepath).
fusionIgnoreParserErrorsfalseSet to true to keep formatting resilient while typing by collecting parser errors instead of throwing.
fusionAllowIncompleteObjectStatementsfalseSet to true when you want to allow unfinished Fusion object statements while editing.
fusionAllowIncompleteEelPathstrueAllows incomplete Eel object paths.
fusionAllowUnclosedAfxTagstrueLets the AFX parser auto-close tags the way the VS Code tooling does.

Funktionsweise

  • Fusion: The plugin registers a fusion parser backed by ts-fusion-parser, which returns a strongly typed AST of statements, object paths, blocks, and comments. The printer in src/printer/index.ts walks that AST and rebuilds it following an algorithm.

  • AFX/HTML: When a DSL expression is marked as afx, the embed hook normalises leading/trailing whitespace, masks embedded Eel placeholders, and lets Prettier’s html parser format the inner markup. The result is restored and wrapped back into the afx`...` fence.

  • Eel: ${...} is treated as a string value (that’s what ts-fusion-parser gives us). We keep the original text as the source of truth, normalise whitespace, split logical operators onto continuation lines when they spill past the print width, and break long function-call arguments heuristically. There is no dedicated Eel AST here, so formatting falls back to these best-effort string transforms rather than semantic reprinting.

Development

pnpm install
pnpm test:lib

pnpm test:lib builds the TypeScript sources and runs Vitest over the fixtures in ./fixtures/fusion. Each fixture directory contains an input.fusion and output.fusion file – the former stays intentionally unformatted while the latter acts as the golden copy for regression testing.

Need to inspect the parser output for a particular file? Run the helper script:

ts-node scripts/inspect-ast.ts fixtures/fusion/Card/input.fusion

src/index.ts wires up Prettier with the ts-fusion-parser, while src/printer/ hosts the printer logic and doc builder helpers.

Description from the npm listing.

  • prettier-plugin
  • template
  • boilerplate

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-fusion weekly downloads on npm, last 90 days: 10 weekly downloads as of Dec 5, 2026, +150% over 90 days.prettier-plugin-fusionWeekly downloads on npm · Last 90 days10downloads / week+150% over 90 days02468101214Sep 6Sep 21Oct 6Oct 21Nov 5Nov 20Dec 5downloads / weekobservedarchived (Internet Archive)no observationsSep 7, 2026 – Dec 5, 2026 · 90 observations · Updated Dec …pluginstats.com
prettier-plugin-fusion weekly downloads on npm, last 90 days: 10 weekly downloads as of Dec 5, 2026, +150% over 90 days.

7/30/90-day growth

prettier-plugin-fusion weekly downloads growth on npm: +66.7% over 7 days, +11.1% over 30 days, +150% over 90 days.prettier-plugin-fusionWeekly downloads growth on npm10downloads / week now7-day growth+4 weekly downloads+66.7%30-day growth+1 weekly downloads+11.1%90-day growth+6 weekly downloads+150%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-fusion weekly downloads growth on npm: +66.7% over 7 days, +11.1% over 30 days, +150% over 90 days.

Ranking history

prettier-plugin-fusion npm ranking history: currently #3134 (by weekly downloads).prettier-plugin-fusionnpm ranking · by weekly downloads · Last 90 days#3134current rank#2000#2200#2400#2600#2800#3000#3200Sep 7Sep 22Oct 7Oct 22Nov 6Nov 21Dec 6rankOct 18, 2026 – Dec 6, 2026 · 40 observations · Updated Dec 5, 2026pluginstats.com
prettier-plugin-fusion npm ranking history: currently #3134 (by weekly downloads).

Listing placement

All npm3,247 listings · 163 pages · 1,083 shown · page 157, #16 (overall #3,136)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins267 listings · 14 pages · page 12, #8 (overall #228)
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 prettier-plugin-fusion
Date (UTC)Weekly downloadsChange vs. previous
100
10-3
13+7
60
6+2
40
4-2
6-3
9+3
60
60
6-1
70
7—

Similar npm Prettier plugins plugins

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