Skip to content
PluginStats

prettier-plugin-mustache weekly downloads statistics

By Poliklot (3 listings) · npm · Prettier plugins

Prettier plugin for Mustache templates.

View on npm Fresh · Oct 17, 2026

prettier-plugin-mustache has 267 recorded weekly downloads on npm, a decrease of 40.7% over the past 30 days.

It ranks #1559 of 2,251 tracked npm listings by weekly downloads.

Over 90 days, weekly downloads changed by +102%.

PluginStats has 121 daily observations since Jun 19, 2026; the latest is from Oct 17, 2026.

Weekly downloads
267
Official API · Oct 17, 2026
7-day growth
+141%
+156 weekly downloads
30-day growth
-40.7%
-183 weekly downloads
90-day growth
+102%
+135 weekly downloads
Rank
#1559
Among tracked npm listings

About prettier-plugin-mustache

prettier-plugin-mustache

Prettier plugin for Mustache templates.

It formats .mustache, .mst, and .mu files with a focus on stable, idempotent output and Mustache syntax rather than Handlebars, Ember, or Glimmer extensions.

Install

Quick Start

Recommended config:

Then format templates:

Configuration Patterns

Minimal setup

Explicit override

Use this when a repository contains several template languages and you want editor format-on-save to stay predictable.

Local plugin build during dogfooding

CLI

Published package:

Local plugin build:

API

Supported File Extensions

• .mustache • .mst • .mu

What The Plugin Handles Today

| Mustache feature | Example | Status |

| Plain text templates | Hello from {Mustache}! | Preserved | | Escaped variables | {{name}} | Formatted | | Dotted names | {{user.name}} | Formatted | | Implicit iterator | {{.}} | Formatted | | Triple mustache | {{{html}}} | Formatted | | Ampersand unescaped variables | {{& html}} | Formatted | | Comments | {{! comment}} | Formatted | | Multiline comments | {{! first\nsecond }} | Preserved/formatted | | Sections | {{#items}}...{{/items}} | Formatted | | Inverted sections | {{^items}}...{{/items}} | Formatted | | Lambda sections | {{#wrapped}}...{{/wrapped}} | Syntax formatted; runtime behavior belongs to the renderer | | Partials | {{> user}} | Formatted | | Dynamic partial names | {{>*partial}} | Formatted | | Set delimiters | {{==}} | Formatted and tracked | | Delimiter reset | | Formatted and tracked | | Blocks/inheritance extension | {{$title}}...{{/title}} | Formatted | | Parent templates | {{ user}}, {{==}} | Formatted in multiline sections | | HTML with Mustache | {{name}} | Indented/formatted | | Multiline HTML tags and attributes | | Indented/formatted | | Conditional class blocks | {{#primary}}btn-primary{{/primary}} inside class="" | Indented/formatted | | Void/self-closing HTML tags | , | Preserved/formatted | | Broken/unmatched tags | {{#items}}... | Preserved raw instead of throwing | | Embedded , or a body that isn't valid JS/CSS after guarded substitution) preserve their source. • Lambda behavior, partial loading, recursive partial expansion, HTML escaping, and context lookup are runtime renderer responsibilities. • This package does not claim Handlebars compatibility. Use @poliklot/prettier-plugin-handlebars for classic Handlebars templates. • This package does not claim Ember/Glimmer compatibility.

Development

npm run check builds the plugin, runs unit/semantic/real-world-pattern tests, and runs deterministic fuzz coverage.

npm run corpus:oss clones and checks large public Mustache template corpora from Mustache.js, OpenAPI Generator, and Swagger Codegen. See OSS corpus notes.

CI runs build, tests, fuzz, pack validation, and install smoke checks on Node 18, 20, and 22.

Shared embedding work

See shared embedding architecture and cross-repository dependencies. This source work depends on the core tracking issue.

Description from the npm listing.

  • prettier
  • prettier-plugin
  • mustache
  • template
  • formatter

Where prettier-plugin-mustache sits in the listing

Each band is one page of 20. Weekly downloads on a log 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.

All npm2,248 listings · 113 pages · page 78, #20 (overall #1560)
All npm: every listing in weekly downloads order
PNG SVG
Prettier plugins241 listings · 13 pages · page 3, #3 (overall #43)
Prettier plugins: every listing in weekly downloads order
PNG SVG

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

prettier-plugin-mustache weekly downloads on npm, last 90 days: 267 weekly downloads as of Oct 17, 2026, +102% over 90 days.prettier-plugin-mustacheWeekly downloads on npm · Last 90 days267downloads / week+102% over 90 days0100200300400500600700Jul 19Aug 3Aug 18Sep 2Sep 17Oct 2Oct 17downloads / weekobservedarchived (Internet Archive)no observationsJul 21, 2026 – Oct 17, 2026 · 89 observations · Updated Oc…pluginstats.com
prettier-plugin-mustache weekly downloads on npm, last 90 days: 267 weekly downloads as of Oct 17, 2026, +102% over 90 days.
PNG SVG

7/30/90-day growth

prettier-plugin-mustache weekly downloads growth on npm: +141% over 7 days, -40.7% over 30 days, +102% over 90 days.prettier-plugin-mustacheWeekly downloads growth on npm267downloads / week now7-day growth+156 weekly downloads+141%30-day growth-183 weekly downloads-40.7%90-day growth+135 weekly downloads+102%Growth vs. nearest observation to each baseline date · Updated Oct 17, 2026pluginstats.com
prettier-plugin-mustache weekly downloads growth on npm: +141% over 7 days, -40.7% over 30 days, +102% over 90 days.
PNG SVG

Ranking history

prettier-plugin-mustache npm ranking history: currently #1559 (by weekly downloads).prettier-plugin-mustachenpm ranking · by weekly downloads · Last 90 days#1559current rank#1557#1558#1559#1560#1561Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18rankOct 18, 2026 – Oct 18, 2026 · 1 observations · Updated Oct 17, 2026pluginstats.com
prettier-plugin-mustache npm ranking history: currently #1559 (by weekly downloads).
PNG SVG

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.

Recent observations

Full history (121)
Recent weekly downloads observations for prettier-plugin-mustache
Date (UTC)Weekly downloadsChange vs. previous
2670
267-2
269-2
271-46
3170
317-40
357+246
111-1
112-24
136-23
159-14
173-2
175+56
119—

Similar npm Prettier plugins plugins

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-mustache. First seen Oct 16, 2026; last successful collection Oct 18, 2026. See the methodology.