Skip to content
PluginStats

prettier-plugin-silverstripe weekly downloads statistics

By wernerkrauss · npm · Prettier plugins

Prettier plugin for Silverstripe CMS templates (.ss files)

View on npm Fresh · Dec 6, 2026

prettier-plugin-silverstripe has 6 recorded weekly downloads on npm, an increase of 100% over the past 30 days, ranking #3206 of 3,247 tracked listings.

Weekly downloads
6
Official API · Dec 5, 2026
7-day growth
+20.0%
+1 weekly downloads
30-day growth
+100%
+3 weekly downloads
90-day growth
+50.0%
+2 weekly downloads
Rank
#3206
▼ 91 in 7 days

About prettier-plugin-silverstripe

Prettier Silverstripe Plugin

A Prettier plugin for formatting Silverstripe CMS templates (.ss files).

This plugin allows Prettier to recognize and safely handle Silverstripe template tags (e.g., <% if %>, <% loop %>, {$Variable}) by masking them before passing the content to the HTML parser and unmasking them afterwards.

Features

  • Formats Silverstripe template files (.ss).
  • Supports standard Silverstripe logic tags and variables.
  • Works seamlessly with prettier-plugin-tailwindcss if installed.
  • Preserves the structure of your templates while leveraging Prettier's HTML formatting power.

Installation

Install the plugin via npm:

npm install --save-dev prettier-plugin-silverstripe

Or via yarn:

yarn add -D prettier-plugin-silverstripe

Configuration

Add the plugin to your .prettierrc configuration file:

{
  "plugins": ["prettier-plugin-silverstripe"],
  "overrides": [
    {
      "files": "*.ss",
      "options": {
        "parser": "silverstripe"
      }
    }
  ]
}
Integration with Tailwind CSS

If you are using prettier-plugin-tailwindcss, this plugin will automatically detect it and use it to sort your Tailwind classes within the Silverstripe templates. Ensure both plugins are installed in your project.

{
  "plugins": ["prettier-plugin-silverstripe", "prettier-plugin-tailwindcss"]
}

Known Limitations

"Tag Splitting"

Complex templates where HTML tags are split across Silverstripe logic tags can sometimes confuse the underlying HTML parser.

Example of what to avoid:

<% if $A %><div><% else %><section><% end_if %>
  Content
<% if $A %></div><% else %></section><% end_if %>

Recommended approach: Instead of splitting tags, wrap the entire structure or use Includes to keep the HTML valid for the parser:

<% if $A %>
  <div>Content</div>
<% else %>
  <section>Content</section>
<% end_if %>

Development & Testing

If you want to contribute or run tests locally:

  1. Clone the repository.
  2. Run npm install.
  3. Run npm test to execute the Jest test suite.

License

MIT

Need Help?

If you need some help with your Silverstripe project, feel free to contact me ✉️.

See you at next StripeCon 👋

Description from the npm listing.

  • prettier
  • prettier-plugin
  • silverstripe
  • template

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-silverstripe weekly downloads on npm, last 90 days: 6 weekly downloads as of Dec 5, 2026, +50.0% over 90 days.prettier-plugin-silverstripeWeekly downloads on npm · Last 90 days6downloads / week+50.0% over 90 days024681012Sep 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-silverstripe weekly downloads on npm, last 90 days: 6 weekly downloads as of Dec 5, 2026, +50.0% over 90 days.

7/30/90-day growth

prettier-plugin-silverstripe weekly downloads growth on npm: +20.0% over 7 days, +100% over 30 days, +50.0% over 90 days.prettier-plugin-silverstripeWeekly downloads growth on npm6downloads / week now7-day growth+1 weekly downloads+20.0%30-day growth+3 weekly downloads+100%90-day growth+2 weekly downloads+50.0%Growth vs. nearest observation to each baseline date · Updated Dec 5, 2026pluginstats.com
prettier-plugin-silverstripe weekly downloads growth on npm: +20.0% over 7 days, +100% over 30 days, +50.0% over 90 days.

Ranking history

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

Listing placement

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

Listing placement

Prettier plugins267 listings · 14 pages · page 13, #14 (overall #254)
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-silverstripe
Date (UTC)Weekly downloadsChange vs. previous
60
60
6+2
40
4+1
3+1
2-3
5-1
6+1
5-1
60
60
6-1
7—

Similar npm Prettier plugins plugins

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