Skip to content
JS
Package

css-declaration-sorter

Sorts CSS declarations fast and automatically in a certain order.

v7.4.0, 7 Apr 2026ISCESM + CommonJSTypes: BundledCSS-in-JS and styling
$ npm install css-declaration-sorter

Key numbers

As of 25 Sept 2026
Weekly downloads
13.9m
+15% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 months ago
v7.4.0
GitHub stars
386
22 forks
Open issues / PRs
2 / 8
Contributors
-
Commits, last 52 weeks
15

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 16.8m (21 Jul 2026)Low 6.5m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

13,936,471 downloads last week, 60,566,029 in the last month. The 12-month change of +15% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
248 in total
Latest version
7.4.0, 7 Apr 20265 months ago
First published
8 Jan 2016
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
2
Open pull requests
8
Commits, last 52 weeks
15
Dependents on npm
382

Major versions

  1. v7 first release 7.0.0, 29 May 2023
  2. v6 first release 6.0.0, 6 Oct 2020
  3. v5 first release 5.0.0, 16 Dec 2019
  4. v4 first release 4.0.0, 24 Jul 2018
  5. v3 first release 3.0.0, 14 Dec 2017
  6. v2 first release 2.0.0, 16 Mar 2017
  7. v1 first release 1.0.0, 8 Jan 2016

Recent releases

VersionPublished
7.4.07 Apr 2026
7.3.12 Jan 2026
7.3.018 Sept 2025
7.2.025 Mar 2024
7.1.11 Oct 2023
7.1.023 Sept 2023
7.0.327 Jul 2023
6.4.18 Jul 2023
7.0.28 Jul 2023
7.0.18 Jul 2023
7.0.029 May 2023
6.4.023 Mar 2023
6.3.12 Sept 2022
6.3.09 Jun 2022
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^14 || ^16 || >=18
Runtimes
-
Unpacked size (npm)
126 kB
Dependencies (0)
None
Peer dependencies (1)
postcss
npm install css-declaration-sorter
  • jsDelivrhttps://cdn.jsdelivr.net/npm/css-declaration-sorter@7.4.0/
  • unpkghttps://unpkg.com/css-declaration-sorter@7.4.0/
  • esm.shhttps://esm.sh/css-declaration-sorter@7.4.0
PackageWeekly downloadsGzipLast releaseModuleComparison
postcss-reduce-initial16m-7 days agoESM only-
postcss-ordered-values15.9m-7 days agoESM only-
postcss-unique-selectors15.9m-7 days agoESM only-
postcss-minify-gradients15.9m-7 days agoESM only-
postcss-normalize-whitespace15.3m-7 days agoESM only-
postcss-normalize-unicode15m-7 days agoESM only-
postcss-normalize-positions15m-7 days agoESM only-
postcss-normalize-string15m-7 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.