Skip to content
JS
Package

postcss-nesting

Nest rules inside each other in CSS

v14.0.1, 23 Jul 2026MIT-0ESM onlyTypes: BundledCSS-in-JS and styling
$ npm install postcss-nesting

Key numbers

As of 25 Sept 2026
Weekly downloads
8.6m
+17% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
2 months ago
v14.0.1
GitHub stars
1.1k
83 forks
Open issues / PRs
10 / 0
Contributors
142
Commits, last 52 weeks
861

Downloads

Last week 2026-09-15 to 2026-09-21
02.5m5m7.5m10mSept 2025Mar 2026Sept 2026High 9.6m (18 Aug 2026)Low 3.7m (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.

8,614,040 downloads last week, 35,041,672 in the last month. The 12-month change of +17% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
265 in total
Latest version
14.0.1, 23 Jul 20262 months ago
First published
17 Jun 2015
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
10
Open pull requests
0
Commits, last 52 weeks
861
Dependents on npm
513

Major versions

  1. v14 first release 14.0.0, 14 Jan 2026
  2. v13 first release 13.0.0, 3 Aug 2024
  3. v12 first release 12.0.0, 3 Jul 2023
  4. v11 first release 11.0.0, 24 Jan 2023
  5. v10 first release 10.0.0, 16 Nov 2021
  6. v9 first release 9.0.0, 27 Oct 2021
  7. v8 first release 8.0.0, 27 Apr 2021
  8. v7 first release 7.0.0, 18 Sept 2018
  9. v6 first release 6.0.0, 9 Jun 2018
  10. v5 first release 5.0.0, 23 Apr 2018
  11. v4 first release 4.0.0, 21 May 2017
  12. v3 first release 3.0.0, 9 May 2017
  13. v2 first release 2.0.0, 15 Sept 2015
  14. v1 first release 1.0.0, 15 Sept 2015
  15. v0 first release 0.1.0, 17 Jun 2015

Recent releases

VersionPublished
14.0.123 Jul 2026
14.0.014 Jan 2026
13.0.210 Jun 2025
13.0.123 Oct 2024
13.0.03 Aug 2024
12.1.523 May 2024
12.1.413 May 2024
12.1.311 May 2024
12.1.221 Apr 2024
12.1.131 Mar 2024
12.1.06 Mar 2024
12.0.426 Feb 2024
12.0.319 Feb 2024
12.0.215 Dec 2023
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20.19.0
Runtimes
-
Unpacked size (npm)
20 kB
Dependencies (3)
postcss-selector-parser@csstools/selector-specificity@csstools/selector-resolve-nested
Peer dependencies (1)
postcss
npm install postcss-nesting
  • jsDelivrhttps://cdn.jsdelivr.net/npm/postcss-nesting@14.0.1/
  • unpkghttps://unpkg.com/postcss-nesting@14.0.1/
  • esm.shhttps://esm.sh/postcss-nesting@14.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
postcss-minify-selectors16.2m-7 days agoESM only-
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-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.