Skip to content
JS
Package

postcss-custom-media

Use Custom Media Queries in CSS

v12.0.1, 21 Feb 2026MITESM onlyTypes: BundledCSS-in-JS and styling
$ npm install postcss-custom-media

Key numbers

As of 25 Sept 2026
Weekly downloads
7.8m
+13% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
7 months ago
v12.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 8.5m (18 Aug 2026)Low 3.3m (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.

7,795,143 downloads last week, 30,922,194 in the last month. The 12-month change of +13% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
250 in total
Latest version
12.0.1, 21 Feb 20267 months ago
First published
12 Aug 2014
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
440

Major versions

  1. v12 first release 12.0.0, 14 Jan 2026
  2. v11 first release 11.0.0, 3 Aug 2024
  3. v10 first release 10.0.0, 3 Jul 2023
  4. v9 first release 9.0.0, 14 Nov 2022
  5. v8 first release 8.0.0, 12 Jan 2021
  6. v7 first release 7.0.0, 14 Sept 2018
  7. v6 first release 6.0.0, 12 May 2017
  8. v5 first release 5.0.0, 25 Aug 2015
  9. v4 first release 4.0.0, 17 Jun 2015
  10. v3 first release 3.0.0, 29 Jan 2015
  11. v1 first release 1.0.0, 12 Aug 2014

Recent releases

VersionPublished
12.0.121 Feb 2026
12.0.014 Jan 2026
11.0.627 May 2025
11.0.51 Nov 2024
11.0.423 Oct 2024
11.0.310 Oct 2024
11.0.24 Oct 2024
11.0.118 Aug 2024
11.0.03 Aug 2024
10.0.86 Jul 2024
10.0.729 Jun 2024
10.0.64 May 2024
10.0.54 May 2024
10.0.413 Mar 2024
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)
16 kB
Dependencies (4)
@csstools/css-tokenizer@csstools/css-parser-algorithms@csstools/media-query-list-parser@csstools/cascade-layer-name-parser
Peer dependencies (1)
postcss
npm install postcss-custom-media
  • jsDelivrhttps://cdn.jsdelivr.net/npm/postcss-custom-media@12.0.1/
  • unpkghttps://unpkg.com/postcss-custom-media@12.0.1/
  • esm.shhttps://esm.sh/postcss-custom-media@12.0.1
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.