Skip to content
JS
Package

jest-useragent-mock

Mock `navigator.userAgent` when run unit test cases with jest.

v0.1.1, 13 Mar 2020MITCommonJSTypes: BundledTestingDev servers and API mocking
$ npm install jest-useragent-mock

Key numbers

As of 25 Sept 2026
Weekly downloads
46.6k
+85% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
6 years ago
v0.1.1
GitHub stars
14
5 forks
Open issues / PRs
1 / 14
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 63.7k (18 Aug 2026)Low 10k (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.

46,643 downloads last week, 209,714 in the last month. The 12-month change of +85% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
0.1.1, 13 Mar 20206 years ago
First published
-
Last push to GitHub
22 Feb 2024946 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
14
Commits, last 52 weeks
0
Dependents on npm
3

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
85 kB
Dependencies (0)
None
npm install jest-useragent-mock
  • jsDelivrhttps://cdn.jsdelivr.net/npm/jest-useragent-mock@0.1.1/
  • unpkghttps://unpkg.com/jest-useragent-mock@0.1.1/
  • esm.shhttps://esm.sh/jest-useragent-mock@0.1.1
PackageWeekly downloadsGzipLast releaseModuleComparison
jest-websocket-mock212.9k-3 years agoESM + CommonJS-
jest-mock-vscode26k-1 month agoCommonJS-
jest-google-maps-mock5k-5 years agoCommonJS-
jest-localstorage-mock281k-3 years agoESM + CommonJS-
mock-match-media31.2k-11 months agoESM + CommonJS-
jest-canvas-mock2m-2 months agoCommonJS-
jest-launchdarkly-mock76.6k-6 months agoCommonJS-
mock-async-storage12.9k-2 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.