Skip to content
PluginStats

prettier-plugin-wolfram weekly downloads statistics

By ToneAr · npm · Prettier plugins

Prettier plugin for Wolfram Language using tree-sitter

View on npm Fresh · Dec 6, 2026

prettier-plugin-wolfram has 47 recorded weekly downloads on npm, an increase of 124% over the past 30 days, ranking #2783 of 3,247 tracked listings.

Weekly downloads
47
Official API · Dec 5, 2026
7-day growth
+51.6%
+16 weekly downloads
30-day growth
+124%
+26 weekly downloads
90-day growth
+262%
+34 weekly downloads
Rank
#2783
▼ 81 in 7 days

About prettier-plugin-wolfram

<p align="center"> <img src="vscode-extension/assets/icon.png" width="96" height="96" alt="prettier-plugin-wolfram logo"> </p> <h1 align="center">Wolfram Prettier Plugin — prettier-plugin-wolfram</h1> <p align="center"> <strong>Prettier formatting for Wolfram Language, powered by tree-sitter.</strong> </p> <p align="center"> <a href="#install">Install</a> · <a href="#cli-usage">CLI</a> · <a href="#prettier-configuration">Configuration</a> · <a href="#vs-code-extension">VS Code</a> </p>

The plugin parses Wolfram Language through a bundled tree-sitter WebAssembly grammar and prints the result with Prettier. It supports .wl, .wls, .wlt, .mt, and .m files. No Wolfram Engine or local kernel installation is required.

Not affiliated with the original prettier extension.

At A Glance

NeedWhat this package provides
Prettier formattingA Wolfram parser and printer for Prettier 3 projects.
Editor supportA bundled VS Code extension with document, range, and format-on-save workflows.
DiagnosticsFormatter-backed rule findings, line-width hints, and fixable style diffs.
Zero dependenciesParsing via a bundled tree-sitter WASM grammar; no Wolfram Engine required.

Requirements

  • Node.js
  • Prettier 3.x

Install

Install Prettier and the plugin in the project that contains your Wolfram source:

npm install --save-dev prettier prettier-plugin-wolfram

Add the plugin to your Prettier configuration for CLI use:

{
	"plugins": ["prettier-plugin-wolfram"]
}

CLI Usage

Format a file to stdout:

npx prettier --plugin prettier-plugin-wolfram --parser wolfram file.wl

Write changes back:

npx prettier --plugin prettier-plugin-wolfram --parser wolfram --write file.wl

Check whether files would change:

npx prettier --plugin prettier-plugin-wolfram --parser wolfram --check "src/**/*.wl"

Format a byte range with Prettier's standard range flags:

npx prettier --plugin prettier-plugin-wolfram --parser wolfram --range-start 0 --range-end 200 file.wl

Range formatting expands to the top-level Wolfram expressions touched by the range. This avoids formatting incomplete fragments that the parser cannot parse on their own.

Formatting Features

  • Formats Wolfram calls, lists, associations, prefix, postfix, infix, binary, ternary, compound, and leaf nodes produced by the tree-sitter grammar.
  • Applies specialized layouts to configurable block-style forms such as Module, With, Block, and DynamicModule.
  • Applies condition-first layout to configurable forms such as If and Switch.
  • Applies alternating condition/body layout to configurable case forms such as Which.
  • Wraps long string literals and flattens nested StringJoin[...] calls into a stable multiline StringJoin[...] layout when needed.
  • Preserves leading comments, trailing comments, multiline comments, and top-level comment blocks.
  • Aligns trailing documentation comments either automatically or at a configured column.
  • Preserves ordinary blank lines up to a configured cap and controls spacing between adjacent definitions, including separate Set and SetDelayed definition groups.
  • Optionally aligns Rule and RuleDelayed values in multiline argument, list, and association layouts.
  • Normalizes general infix x ~ f ~ y to f[x, y] unless the function head is listed in wolfram.preserveTildeInfixFunctions.
  • Leaves parse-error files and unsupported CST nodes as original source instead of printing internal parser details.
  • Produces idempotent output: a second format pass should not change the first pass result.

Prettier Configuration

Typical .prettierrc example:

{
	"plugins": ["prettier-plugin-wolfram"],
	"printWidth": 80,
	"tabWidth": 2,
	"wolfram": {
		"newlinesBetweenDefinitions": 1,
		"newlinesBetweenSameNameDefinitions": 0,
		"maxBlankLinesBetweenCode": 1,
		"trailingNewline": false,
		"spaceAfterComma": true,
		"spaceAroundOperators": true,
		"alignRuleValues": false,
		"logicalOperatorsToFullForm": true,
		"documentationCommentColumn": 0,
		"documentationCommentPadding": 2,
		"documentationCommentMarkers": false,
		"topLevelSpacingMode": "declarations",
		"preserveTildeInfixFunctions": "",
		"moduleVarsBreakThreshold": 40,
		"conditionFirstFunctions": "If,Switch",
		"blockStructureFunctions": "Module,With,Block,DynamicModule",
		"caseStructureFunctions": "Which",
		"lintRules": "{}"
	}
}

Use Prettier's standard printWidth, tabWidth, useTabs, endOfLine, and related options for normal Prettier behavior. The options below are specific to this plugin.…

Description from the npm listing.

  • prettier
  • prettier-plugin
  • wolfram
  • wolfram-language
  • mathematica
  • 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

prettier-plugin-wolfram weekly downloads on npm, last 90 days: 47 weekly downloads as of Dec 5, 2026, +262% over 90 days.prettier-plugin-wolframWeekly downloads on npm · Last 90 days47downloads / week+262% over 90 days010203040506070Sep 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-wolfram weekly downloads on npm, last 90 days: 47 weekly downloads as of Dec 5, 2026, +262% over 90 days.

7/30/90-day growth

prettier-plugin-wolfram weekly downloads growth on npm: +51.6% over 7 days, +124% over 30 days, +262% over 90 days.prettier-plugin-wolframWeekly downloads growth on npm47downloads / week now7-day growth+16 weekly downloads+51.6%30-day growth+26 weekly downloads+124%90-day growth+34 weekly downloads+262%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-wolfram weekly downloads growth on npm: +51.6% over 7 days, +124% over 30 days, +262% over 90 days.

Ranking history

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

Listing placement

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

Listing placement

Prettier plugins267 listings · 14 pages · page 6, #17 (overall #117)
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-wolfram
Date (UTC)Weekly downloadsChange vs. previous
470
47-2
49+33
160
160
16+1
15-16
310
310
31+2
29-2
310
31+2
29—

Similar npm Prettier plugins plugins

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