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 Stale · Oct 17, 2026

prettier-plugin-fusion has 1 recorded weekly downloads on npm, a decrease of 85.7% over the past 30 days, ranking #2209 of 2,306 tracked listings.

Weekly downloads
1
Official API · Oct 18, 2026
7-day growth
-50.0%
-1 weekly downloads
30-day growth
-85.7%
-6 weekly downloads
90-day growth
—
Insufficient history
Rank
#2209
Among tracked npm listings

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: 2 weekly downloads as of Oct 18, 2026.prettier-plugin-fusionWeekly downloads on npm · Last 90 days2downloads / week0246810Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 22, 2026 – Oct 18, 2026 · 89 observations · Updated Oc…pluginstats.com
prettier-plugin-fusion weekly downloads on npm, last 90 days: 2 weekly downloads as of Oct 18, 2026.

7/30/90-day growth

prettier-plugin-fusion weekly downloads growth on npm: 0.0% over 7 days, -66.7% over 30 days, 90-day growth unavailable.prettier-plugin-fusionWeekly downloads growth on npm2downloads / week now7-day growth+0 weekly downloads0.0%30-day growth-4 weekly downloads-66.7%90-day growth+2 weekly downloadsInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-fusion weekly downloads growth on npm: 0.0% over 7 days, -66.7% over 30 days, 90-day growth unavailable.

Ranking history

prettier-plugin-fusion npm ranking history: currently #2209 (by weekly downloads).prettier-plugin-fusionnpm ranking · by weekly downloads · Last 90 days#2209current rank#2202#2204#2206#2208#2210#2212Jul 21Aug 5Aug 20Sep 4Sep 19Oct 4Oct 19rankOct 18, 2026 – Oct 19, 2026 · 2 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-fusion npm ranking history: currently #2209 (by weekly downloads).

Listing placement

All npm2,256 listings · 113 pages · 1,130 shown · page 111, #10 (overall #2,210)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins244 listings · 13 pages · page 11, #9 (overall #209)
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 (122)
Recent weekly downloads observations for prettier-plugin-fusion
Date (UTC)Weekly downloadsChange vs. previous
2+1
10
10
10
10
10
1-1
20
20
2-1
30
30
30
3—

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 Oct 20, 2026. See the methodology.