Skip to content
JS
Package

csso

CSS minifier with structural optimisations

v5.0.5, 10 Aug 2022MITESM + CommonJSTypes: NoneCSS-in-JS and styling
$ npm install csso

Key numbers

As of 25 Sept 2026
Weekly downloads
25.9m
+51% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
4 years ago
v5.0.5
GitHub stars
3.8k
189 forks
Open issues / PRs
95 / 8
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010m20m30m40mSept 2025Mar 2026Sept 2026High 32m (25 Aug 2026)Low 9.8m (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.

25,874,464 downloads last week, 116,880,189 in the last month. The 12-month change of +51% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
082 in total
Latest version
5.0.5, 10 Aug 20224 years ago
First published
31 Aug 2011
Last push to GitHub
21 Jun 2024825 days before the snapshot
Repository archived
No
Open issues
95
Open pull requests
8
Commits, last 52 weeks
0
Dependents on npm
836

Major versions

  1. v5 first release 5.0.0, 4 Dec 2021
  2. v4 first release 4.0.0, 21 Oct 2019
  3. v3 first release 3.0.0, 13 Mar 2017
  4. v2 first release 2.0.0, 6 Apr 2016
  5. v1 first release 1.2.0, 31 Aug 2011

Recent releases

VersionPublished
5.0.510 Aug 2022
5.0.414 Jul 2022
5.0.39 Mar 2022
5.0.217 Dec 2021
5.0.115 Dec 2021
5.0.04 Dec 2021
4.2.026 Nov 2020
4.1.115 Nov 2020
4.1.027 Oct 2020
4.0.324 Mar 2020
4.0.228 Oct 2019
4.0.122 Oct 2019
4.0.021 Oct 2019
3.5.17 Jun 2018
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
^10 || ^12.20.0 || ^14.13.0 || >=15.0.0
Runtimes
-
Unpacked size (npm)
591 kB
Dependencies (1)
css-tree
npm install csso
  • jsDelivrhttps://cdn.jsdelivr.net/npm/csso@5.0.5/
  • unpkghttps://unpkg.com/csso@5.0.5/
  • esm.shhttps://esm.sh/csso@5.0.5
PackageWeekly downloadsGzipLast releaseModuleComparison
cssnano16.1m-7 days agoESM only-
postcss-discard-empty16.2m-7 days agoESM only-
postcss-merge-longhand16m-7 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.