Skip to content
JS
Package

next-router-mock

Mock implementation of the Next.js Router

v1.0.5, 31 Dec 2025MITCommonJSTypes: BundledTesting
$ npm install next-router-mock

Key numbers

As of 25 Sept 2026
Weekly downloads
874.5k
+34% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
8 months ago
v1.0.5
GitHub stars
423
44 forks
Open issues / PRs
16 / 1
Contributors
-
Commits, last 52 weeks
27

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1m (9 Jun 2026)Low 246.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.

874,458 downloads last week, 3,294,609 in the last month. The 12-month change of +34% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
355 in total
Latest version
1.0.5, 31 Dec 20258 months ago
First published
10 Jan 2021
Last push to GitHub
31 Dec 2025267 days before the snapshot
Repository archived
No
Open issues
16
Open pull requests
1
Commits, last 52 weeks
27
Dependents on npm
7

Major versions

  1. v1 first release 1.0.0, 9 May 2025
  2. v0 first release 0.1.1, 10 Jan 2021

Recent releases

VersionPublished
1.0.531 Dec 2025
1.0.429 Oct 2025
1.0.329 Oct 2025
1.0.212 May 2025
1.0.19 May 2025
1.0.09 May 2025
0.9.1328 Mar 2024
0.9.126 Feb 2024
0.9.1123 Dec 2023
0.9.1025 Sept 2023
0.9.913 Aug 2023
0.9.89 Aug 2023
0.9.722 Jun 2023
0.9.69 Jun 2023
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
164 kB
Dependencies (0)
None
Peer dependencies (2)
nextreact
npm install next-router-mock
  • jsDelivrhttps://cdn.jsdelivr.net/npm/next-router-mock@1.0.5/
  • unpkghttps://unpkg.com/next-router-mock@1.0.5/
  • esm.shhttps://esm.sh/next-router-mock@1.0.5
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.