Skip to content
JS
Package

import-in-the-middle

Intercept imports in Node.js

v3.5.1, 11 Sept 2026Apache-2.0CommonJSTypes: Bundled
$ npm install import-in-the-middle

Key numbers

As of 25 Sept 2026
Weekly downloads
54.9m
+265% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
3
Direct, from package.json
Last release
13 days ago
v3.5.1
GitHub stars
170
58 forks
Open issues / PRs
9 / 6
Contributors
31
Commits, last 52 weeks
64

Downloads

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

54,925,623 downloads last week, 252,084,236 in the last month. The 12-month change of +265% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
2163 in total
Latest version
3.5.1, 11 Sept 202613 days ago
First published
18 Aug 2021
Last push to GitHub
11 Sept 202613 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
6
Commits, last 52 weeks
64
Dependents on npm
101

Major versions

  1. v3 first release 3.0.0, 2 Feb 2026
  2. v2 first release 2.0.0, 16 Oct 2025
  3. v1 first release 1.0.0, 18 Aug 2021

Recent releases

VersionPublished
3.5.111 Sept 2026
3.5.08 Sept 2026
3.4.031 Aug 2026
3.3.31 Aug 2026
3.3.220 Jul 2026
3.3.17 Jul 2026
3.3.03 Jul 2026
3.2.022 Jun 2026
3.1.017 Jun 2026
3.0.28 Jun 2026
3.0.17 Apr 2026
3.0.02 Feb 2026
2.0.627 Jan 2026
2.0.520 Jan 2026
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=18
Runtimes
-
Unpacked size (npm)
125 kB
Dependencies (3)
es-module-lexercjs-module-lexermodule-details-from-path
npm install import-in-the-middle
  • jsDelivrhttps://cdn.jsdelivr.net/npm/import-in-the-middle@3.5.1/
  • unpkghttps://unpkg.com/import-in-the-middle@3.5.1/
  • esm.shhttps://esm.sh/import-in-the-middle@3.5.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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