Skip to content
JS
Package

cssnano

A modular CSS minifier, built on top of the PostCSS ecosystem.

v9.0.5, 17 Sept 2026MITESM onlyTypes: BundledCSS-in-JS and styling
$ npm install cssnano

Key numbers

As of 25 Sept 2026
Weekly downloads
16.1m
+27% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 days ago
v9.0.5
GitHub stars
5k
330 forks
Open issues / PRs
51 / 3
Contributors
-
Commits, last 52 weeks
490

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 19.1m (18 Aug 2026)Low 6.9m (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.

16,134,192 downloads last week, 69,346,492 in the last month. The 12-month change of +27% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
25152 in total
Latest version
9.0.5, 17 Sept 20267 days ago
First published
14 Apr 2015
Last push to GitHub
25 Sept 2026same day as the snapshot
Repository archived
No
Open issues
51
Open pull requests
3
Commits, last 52 weeks
490
Dependents on npm
3,442

Major versions

  1. v9 first release 9.0.0, 27 Aug 2026
  2. v8 first release 8.0.0, 6 May 2026
  3. v7 first release 7.0.0, 24 Apr 2024
  4. v6 first release 6.0.0, 27 Mar 2023
  5. v5 first release 5.0.0, 10 Apr 2021
  6. v4 first release 4.0.0, 4 Jul 2018
  7. v3 first release 3.0.0, 6 Sept 2015
  8. v2 first release 2.0.0, 26 Jun 2015
  9. v1 first release 1.0.0, 14 Apr 2015

Recent releases

VersionPublished
9.0.517 Sept 2026
9.0.48 Sept 2026
9.0.35 Sept 2026
9.0.21 Sept 2026
9.0.128 Aug 2026
9.0.027 Aug 2026
8.0.1026 Aug 2026
8.0.925 Aug 2026
8.0.822 Aug 2026
8.0.720 Aug 2026
8.0.616 Aug 2026
8.0.59 Aug 2026
8.0.45 Aug 2026
8.0.34 Aug 2026
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^22.22.3 || ^24.15.0 || >=26.0
Runtimes
-
Unpacked size (npm)
10 kB
Dependencies (1)
cssnano-preset-default
Peer dependencies (1)
postcss
npm install cssnano
  • jsDelivrhttps://cdn.jsdelivr.net/npm/cssnano@9.0.5/
  • unpkghttps://unpkg.com/cssnano@9.0.5/
  • esm.shhttps://esm.sh/cssnano@9.0.5
PackageWeekly downloadsGzipLast releaseModuleComparison
csso25.9m-4 years agoESM + CommonJS-
postcss-overflow-shorthand7.3m-8 months agoESM only-
@csstools/postcss-logical-resize2.4m-8 months agoESM only-
@csstools/postcss-is-pseudo-class5.6m-8 months agoESM only-
@csstools/postcss-hwb-function5.5m-11 days agoESM only-
postcss-env-function4.9m-8 months agoCommonJS-
css-has-pseudo7.3m-2 months agoESM + CommonJS-
@csstools/postcss-progressive-custom-properties6.1m-18 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.