Skip to content
PluginStats

prettier-grundy-scss-order weekly downloads statistics

By urffin · npm · Prettier plugins

Sorter for properties in scss files

View on npm Stale · Oct 18, 2026

prettier-grundy-scss-order has 60 recorded weekly downloads on npm, an increase of 131% over the past 30 days, ranking #1791 of 2,322 tracked listings.

Weekly downloads
60
Official API · Oct 18, 2026
7-day growth
-15.5%
-11 weekly downloads
30-day growth
+131%
+34 weekly downloads
90-day growth
+650%
+52 weekly downloads
Rank
#1791
Among tracked npm listings

About prettier-grundy-scss-order

prettier-grundy-scss-order Русский

[![npm][npm-badge]][npm] [![GitHub Actions Workflow Status][npm-build]][github-actions]

Keep SCSS readable as it grows. prettier-grundy-scss-order is a Prettier plugin that puts declarations, variables, Sass directives, and nested rules in a predictable order every time you format a file.

It is designed for real SCSS codebases: keep variables together, place layout properties consistently, separate logical sections with blank lines, and migrate from established property orders without rewriting your styles by hand.

Why use it?

  • One format command, one team-wide style. No more review comments about property order.
  • SCSS-aware sorting. Sort $variables, CSS custom properties, @use, @extend, @include, @mixin, conditions, and nested rules — not only declarations.
  • Adopt an existing convention. Choose csscomb, csscomb-yandex, csscomb-zen, or pepelsbey.
  • Make the order yours. Create groups by node type, property prefix, or an explicit list of properties.

Before and after

.card {
    padding: 16px;
    color: white;
    --card-color: #222;
    display: flex;
}
.card {
    --card-color: #222;
    color: white;
    display: flex;
    padding: 16px;
}

Quick start

Install Prettier and the plugin:

npm install --save-dev prettier prettier-grundy-scss-order

Add it to prettier.config.mjs:

export default {
    plugins: ["prettier-grundy-scss-order"]
};

Then format your SCSS as usual:

npx prettier --write "src/**/*.scss"

The default order is:

@use → @extend → CSS custom properties → Sass variables → @if → declarations → @include → @mixin → nested rules

Declarations inside the decl group are sorted alphabetically. Sorting applies at the root level and inside nested rules.

Configuration

Set options in your Prettier configuration:

export default {
    plugins: ["prettier-grundy-scss-order"],
    grundyScssSorterSplitGroup: true,
    grundyScssSorterGroupsOrder: ["--variable", "$variable", "layout", "typography", "decl", "@include", "rule"],
    grundyScssSorterGroups: JSON.stringify({
        layout: {
            oneOf: ["display", "position", "inset", "width", "height", "margin", "padding"],
            order: "exact"
        },
        typography: {
            startsWith: "font",
            type: "decl"
        }
    })
};
OptionDescriptionDefault
grundyScssSorterGroupsOrderGroup names in the desired order. Nodes not matching a listed group are placed after them.[@use, @extend, --variable, $variable, @if, decl, @include, @mixin, rule]
grundyScssSorterWithRootSort root-level nodes as well as declarations inside rules.true
grundyScssSorterSplitGroupAdd a blank line between groups. Groups marked as split also separate their individual items.false
grundyScssSorterGroupsJSON string with custom groups. Custom definitions extend the built-in groups.—
grundyScssSorterPresetA bundled property-order preset.—

Presets

Start with a familiar convention, then override it only where your project differs:

export default {
    plugins: ["prettier-grundy-scss-order"],
    grundyScssSorterPreset: "pepelsbey"
};
PresetBest for
csscombMigrating from CSScomb’s default configuration.
csscomb-yandexMigrating from CSScomb’s Yandex configuration.
csscomb-zenMigrating from CSScomb’s Zen configuration.
pepelsbeyA comprehensive exact CSS-property order based on stylelint-config-pepelsbey.

Built-in groups…

Description from the npm listing.

  • prettier
  • prettier-plugin
  • css
  • scss
  • declaration
  • sorter
  • property
  • order

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-grundy-scss-order weekly downloads on npm, last 90 days: 60 weekly downloads as of Oct 18, 2026, +650% over 90 days.prettier-grundy-scss-orderWeekly downloads on npm · Last 90 days60downloads / week+650% over 90 days020406080100Jul 20Aug 4Aug 19Sep 3Sep 18Oct 3Oct 18downloads / weekobservedarchived (Internet Archive)no observationsJul 23, 2026 – Oct 18, 2026 · 88 observations · Updated Oc…pluginstats.com
prettier-grundy-scss-order weekly downloads on npm, last 90 days: 60 weekly downloads as of Oct 18, 2026, +650% over 90 days.

7/30/90-day growth

prettier-grundy-scss-order weekly downloads growth on npm: -15.5% over 7 days, +131% over 30 days, +650% over 90 days.prettier-grundy-scss-orderWeekly downloads growth on npm60downloads / week now7-day growth-11 weekly downloads-15.5%30-day growth+34 weekly downloads+131%90-day growth+52 weekly downloads+650%Growth vs. nearest observation to each baseline date · Updated Oct 18, 2026pluginstats.com
prettier-grundy-scss-order weekly downloads growth on npm: -15.5% over 7 days, +131% over 30 days, +650% over 90 days.

Ranking history

prettier-grundy-scss-order npm ranking history: currently #1791 (by weekly downloads).prettier-grundy-scss-ordernpm ranking · by weekly downloads · Last 90 days#1791current rank#600#800#1000#1200#1400#1600#1800Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 17, 2026 – Oct 20, 2026 · 4 observations · Updated Oct 18, 2026pluginstats.com
prettier-grundy-scss-order npm ranking history: currently #1791 (by weekly downloads).

Listing placement

All npm2,320 listings · 116 pages · 1,161 shown · page 90, #15 (overall #1,795)
All npm: every listing in weekly downloads order

Listing placement

Prettier plugins244 listings · 13 pages · page 4, #14 (overall #74)
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 (544)
Recent weekly downloads observations for prettier-grundy-scss-order
Date (UTC)Weekly downloadsChange vs. previous
60-38
980
98+23
75-1
76-1
770
77+6
71+45
260
26-2
28-5
33-2
350
35—

Similar npm Prettier plugins plugins

All 20 prettier-grundy-scss-order 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-grundy-scss-order. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.