Skip to content
JS
Package

require-in-the-middle

Module to hook into the Node.js require function

v8.0.1, 20 Oct 2025MITCommonJSTypes: Bundled
$ npm install require-in-the-middle

Key numbers

As of 25 Sept 2026
Weekly downloads
39.6m
+244% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
11 months ago
v8.0.1
GitHub stars
186
34 forks
Open issues / PRs
11 / 5
Contributors
15
Commits, last 52 weeks
4

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 55m (25 Aug 2026)Low 10m (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.

39,598,103 downloads last week, 198,206,543 in the last month. The 12-month change of +244% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
135 in total
Latest version
8.0.1, 20 Oct 202511 months ago
First published
10 Feb 2016
Last push to GitHub
28 Jul 202658 days before the snapshot
Repository archived
No
Open issues
11
Open pull requests
5
Commits, last 52 weeks
4
Dependents on npm
170

Major versions

  1. v8 first release 8.0.0, 24 Sept 2025
  2. v7 first release 7.0.0, 13 Apr 2023
  3. v6 first release 6.0.0, 13 Jan 2023
  4. v5 first release 5.0.0, 13 Aug 2019
  5. v4 first release 4.0.0, 14 Mar 2019
  6. v3 first release 3.0.0, 26 Jun 2018
  7. v2 first release 2.0.0, 15 Feb 2016
  8. v1 first release 1.0.0, 10 Feb 2016

Recent releases

VersionPublished
8.0.120 Oct 2025
8.0.024 Sept 2025
7.5.221 Feb 2025
7.5.17 Feb 2025
7.5.027 Jan 2025
7.4.025 Jul 2024
7.3.026 Mar 2024
7.2.113 Mar 2024
7.2.013 Jul 2023
7.1.131 May 2023
7.1.019 Apr 2023
7.0.113 Apr 2023
7.0.013 Apr 2023
6.0.013 Jan 2023
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=9.3.0 || >=8.10.0 <9.0.0
Runtimes
-
Unpacked size (npm)
18 kB
Dependencies (2)
debugmodule-details-from-path
npm install require-in-the-middle
  • jsDelivrhttps://cdn.jsdelivr.net/npm/require-in-the-middle@8.0.1/
  • unpkghttps://unpkg.com/require-in-the-middle@8.0.1/
  • esm.shhttps://esm.sh/require-in-the-middle@8.0.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.