{
  "name": "import-in-the-middle",
  "url": "https://canirequire.com/package/import-in-the-middle/",
  "description": "Intercept imports in Node.js",
  "latest": "3.5.0",
  "latestPublished": "2026-09-08T16:25:56.370Z",
  "format": "cjs",
  "summary": "import-in-the-middle@3.5.0 is a CommonJS package. import-in-the-middle ships CommonJS only. require(\"import-in-the-middle\") works everywhere. import \"import-in-the-middle\" also works because Node.js and Bun can import CommonJS from ES modules, but only the default export is guaranteed; named imports depend on Node's static analysis of the module.",
  "esmOnlySince": null,
  "esmOnlySinceDate": null,
  "lastCommonJsVersion": "3.5.0",
  "lastCommonJsDate": "2026-09-08T16:25:56.370Z",
  "nativeEsmSince": "1.0.0",
  "types": "bundled",
  "nodeEngines": ">=18",
  "deprecated": null,
  "license": "Apache-2.0",
  "repository": "https://github.com/nodejs/import-in-the-middle",
  "weeklyDownloads": 53452434,
  "runtime": {
    "verifiedAt": "2026-09-09T15:28:12.084Z",
    "node": {
      "18": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "20": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "22": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "24": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      },
      "26": {
        "require": true,
        "import": true,
        "requireError": null,
        "importError": null
      }
    },
    "bun": {
      "require": true,
      "import": true,
      "requireError": null,
      "importError": null
    }
  },
  "formatHistory": [
    {
      "version": "3.5.0",
      "format": "cjs",
      "published": "2026-09-08T16:25:56.370Z"
    },
    {
      "version": "3.4.0",
      "format": "cjs",
      "published": "2026-08-31T10:25:55.154Z"
    },
    {
      "version": "3.3.3",
      "format": "cjs",
      "published": "2026-08-01T00:42:59.221Z"
    },
    {
      "version": "3.3.2",
      "format": "cjs",
      "published": "2026-07-20T21:44:40.572Z"
    },
    {
      "version": "3.3.1",
      "format": "cjs",
      "published": "2026-07-07T13:57:26.821Z"
    },
    {
      "version": "3.3.0",
      "format": "cjs",
      "published": "2026-07-03T13:40:15.902Z"
    },
    {
      "version": "3.2.0",
      "format": "cjs",
      "published": "2026-06-22T18:11:17.974Z"
    },
    {
      "version": "3.1.0",
      "format": "cjs",
      "published": "2026-06-17T14:06:08.927Z"
    },
    {
      "version": "3.0.2",
      "format": "cjs",
      "published": "2026-06-08T19:51:00.170Z"
    },
    {
      "version": "3.0.1",
      "format": "cjs",
      "published": "2026-04-07T20:39:06.423Z"
    },
    {
      "version": "3.0.0",
      "format": "cjs",
      "published": "2026-02-02T10:24:10.683Z"
    },
    {
      "version": "2.0.6",
      "format": "cjs",
      "published": "2026-01-27T22:52:37.528Z"
    },
    {
      "version": "2.0.5",
      "format": "cjs",
      "published": "2026-01-20T21:17:31.253Z"
    },
    {
      "version": "2.0.4",
      "format": "cjs",
      "published": "2026-01-14T15:06:08.484Z"
    },
    {
      "version": "2.0.3",
      "format": "cjs",
      "published": "2026-01-13T23:20:41.055Z"
    },
    {
      "version": "2.0.2",
      "format": "cjs",
      "published": "2026-01-12T16:34:36.642Z"
    },
    {
      "version": "2.0.1",
      "format": "cjs",
      "published": "2025-12-19T07:32:53.524Z"
    },
    {
      "version": "2.0.0",
      "format": "cjs",
      "published": "2025-10-16T16:20:55.828Z"
    },
    {
      "version": "1.15.0",
      "format": "cjs",
      "published": "2025-10-10T16:26:46.454Z"
    },
    {
      "version": "1.14.4",
      "format": "cjs",
      "published": "2025-09-25T12:59:27.888Z"
    },
    {
      "version": "1.14.3",
      "format": "cjs",
      "published": "2025-09-24T17:13:31.045Z"
    },
    {
      "version": "1.14.2",
      "format": "cjs",
      "published": "2025-06-13T14:50:15.733Z"
    },
    {
      "version": "1.14.1",
      "format": "cjs",
      "published": "2025-06-13T10:54:51.381Z"
    },
    {
      "version": "1.14.0",
      "format": "cjs",
      "published": "2025-05-27T11:58:48.416Z"
    },
    {
      "version": "1.13.2",
      "format": "cjs",
      "published": "2025-05-13T09:22:02.575Z"
    },
    {
      "version": "1.13.1",
      "format": "cjs",
      "published": "2025-02-28T15:53:14.462Z"
    },
    {
      "version": "1.13.0",
      "format": "cjs",
      "published": "2025-02-07T08:40:33.816Z"
    },
    {
      "version": "1.12.0",
      "format": "cjs",
      "published": "2024-12-17T10:58:28.887Z"
    },
    {
      "version": "1.11.3",
      "format": "cjs",
      "published": "2024-12-04T12:37:42.120Z"
    },
    {
      "version": "1.11.2",
      "format": "cjs",
      "published": "2024-09-30T14:21:28.789Z"
    },
    {
      "version": "1.11.1",
      "format": "cjs",
      "published": "2024-09-26T20:23:13.184Z"
    },
    {
      "version": "1.11.0",
      "format": "cjs",
      "published": "2024-07-30T13:41:46.120Z"
    },
    {
      "version": "1.10.0",
      "format": "cjs",
      "published": "2024-07-23T09:30:53.922Z"
    },
    {
      "version": "1.9.1",
      "format": "cjs",
      "published": "2024-07-15T17:13:44.268Z"
    },
    {
      "version": "1.9.0",
      "format": "cjs",
      "published": "2024-07-08T18:09:52.957Z"
    },
    {
      "version": "1.8.1",
      "format": "cjs",
      "published": "2024-06-18T23:07:38.243Z"
    },
    {
      "version": "1.8.0",
      "format": "cjs",
      "published": "2024-05-31T18:29:40.875Z"
    },
    {
      "version": "1.7.4",
      "format": "cjs",
      "published": "2024-04-30T14:58:53.773Z"
    },
    {
      "version": "1.7.3",
      "format": "cjs",
      "published": "2024-01-17T18:53:25.832Z"
    },
    {
      "version": "1.7.2",
      "format": "cjs",
      "published": "2023-12-15T17:00:29.138Z"
    },
    {
      "version": "1.7.1",
      "format": "cjs",
      "published": "2023-12-13T17:06:48.065Z"
    },
    {
      "version": "1.7.0",
      "format": "cjs",
      "published": "2023-12-12T16:37:24.886Z"
    },
    {
      "version": "1.6.0",
      "format": "cjs",
      "published": "2023-12-11T17:01:48.278Z"
    },
    {
      "version": "1.5.0",
      "format": "cjs",
      "published": "2023-11-30T21:01:42.676Z"
    },
    {
      "version": "1.4.2",
      "format": "cjs",
      "published": "2023-08-07T16:37:41.075Z"
    },
    {
      "version": "1.4.1",
      "format": "cjs",
      "published": "2023-06-11T18:18:27.251Z"
    },
    {
      "version": "1.4.0",
      "format": "cjs",
      "published": "2023-06-02T18:47:47.036Z"
    },
    {
      "version": "1.3.5",
      "format": "cjs",
      "published": "2023-04-19T20:50:18.287Z"
    },
    {
      "version": "1.3.4",
      "format": "cjs",
      "published": "2022-09-16T17:14:09.749Z"
    },
    {
      "version": "1.3.3",
      "format": "cjs",
      "published": "2022-09-13T16:16:04.713Z"
    },
    {
      "version": "1.3.2",
      "format": "cjs",
      "published": "2022-09-02T14:59:27.840Z"
    },
    {
      "version": "1.3.1",
      "format": "cjs",
      "published": "2022-08-30T19:26:20.937Z"
    },
    {
      "version": "1.3.0",
      "format": "cjs",
      "published": "2022-07-28T15:45:20.386Z"
    },
    {
      "version": "1.2.3",
      "format": "cjs",
      "published": "2022-07-16T04:24:44.191Z"
    },
    {
      "version": "1.2.2",
      "format": "cjs",
      "published": "2022-07-16T04:03:23.602Z"
    },
    {
      "version": "1.2.1",
      "format": "cjs",
      "published": "2022-02-24T20:41:43.001Z"
    },
    {
      "version": "1.2.0",
      "format": "cjs",
      "published": "2021-12-06T17:57:00.370Z"
    },
    {
      "version": "1.1.2",
      "format": "cjs",
      "published": "2021-10-27T14:29:52.204Z"
    },
    {
      "version": "1.1.1",
      "format": "cjs",
      "published": "2021-09-16T15:36:08.879Z"
    },
    {
      "version": "1.1.0",
      "format": "cjs",
      "published": "2021-08-25T18:58:26.181Z"
    }
  ]
}