Skip to content
JS
Package

proxyquire

Proxies nodejs require in order to allow overriding dependencies during testing.

v2.1.3, 12 Aug 2019MITCommonJSTypes: NoneTesting
$ npm install proxyquire

Key numbers

As of 25 Sept 2026
Weekly downloads
938.1k
+38% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
7 years ago
v2.1.3
GitHub stars
2.7k
102 forks
Open issues / PRs
9 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.4m (25 Aug 2026)Low 373.6k (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.

938,133 downloads last week, 4,680,788 in the last month. The 12-month change of +38% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
048 in total
Latest version
2.1.3, 12 Aug 20197 years ago
First published
8 Jul 2012
Last push to GitHub
13 Aug 2025408 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
389

Major versions

  1. v2 first release 2.0.0, 2 Mar 2018
  2. v1 first release 1.0.0, 15 May 2014
  3. v0 first release 0.0.2, 8 Jul 2012

Recent releases

VersionPublished
2.1.312 Aug 2019
2.1.29 Aug 2019
2.1.112 Jul 2019
2.1.021 Aug 2018
2.0.221 Aug 2018
2.0.119 Mar 2018
2.0.02 Mar 2018
1.8.015 May 2017
1.7.1126 Jan 2017
1.7.1029 Jun 2016
1.7.911 May 2016
1.7.810 May 2016
1.7.75 May 2016
1.7.65 May 2016
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
66 kB
Dependencies (3)
resolvefill-keysmodule-not-found-error
npm install proxyquire
  • jsDelivrhttps://cdn.jsdelivr.net/npm/proxyquire@2.1.3/
  • unpkghttps://unpkg.com/proxyquire@2.1.3/
  • esm.shhttps://esm.sh/proxyquire@2.1.3
PackageWeekly downloadsGzipLast releaseModuleComparison
mock-require231.6k-7 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.