Skip to content
JS
Package

jest-matchmedia-mock

Mock for fully testing any media queries with Jest

v1.1.0, 5 Aug 2020MITCommonJSTypes: BundledTestingTypeScript tooling
$ npm install jest-matchmedia-mock

Key numbers

As of 25 Sept 2026
Weekly downloads
69.4k
+7% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 years ago
v1.1.0
GitHub stars
42
6 forks
Open issues / PRs
6 / 17
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
025k50k75k100kSept 2025Mar 2026Sept 2026High 82.3k (21 Jul 2026)Low 16.5k (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.

69,437 downloads last week, 267,173 in the last month. The 12-month change of +7% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.1.0, 5 Aug 20206 years ago
First published
-
Last push to GitHub
5 Jan 20231,358 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
17
Commits, last 52 weeks
0
Dependents on npm
4

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=10
Runtimes
-
Unpacked size (npm)
12 kB
Dependencies (0)
None
Peer dependencies (1)
jest
npm install jest-matchmedia-mock
  • jsDelivrhttps://cdn.jsdelivr.net/npm/jest-matchmedia-mock@1.1.0/
  • unpkghttps://unpkg.com/jest-matchmedia-mock@1.1.0/
  • esm.shhttps://esm.sh/jest-matchmedia-mock@1.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
jest-chrome24.6k-3 years agoESM + CommonJS-
ts-jest-mock26k-2 years agoESM + CommonJS-
ts-jest19.3m-1 day agoCommonJS-
wiremock-captain55.6k-10 months agoCommonJS-
givens11.5k-5 years agoCommonJS-
earl8.7k-11 months agoESM + CommonJS-
babel-plugin-tester105.8k--CommonJS-
@testdeck/core11.9k-3 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.