ModuleImporter is a Node.js utility that helps you import modules regardless of whether they are CommonJS or ESM, using Node’s `import()` and CommonJS compatibility. It also makes it easier to resolve and import modules from a chosen directory (not just relative to the calling file location), so you can use a single method without compatibility issues.
Project status
- The repository appears not to be actively maintained, with the most recent update on 2025-02-19, and no evidence of any updates since then (as of 2026-06-09, this is over a year ago).
- Update cadence appears sparse, with updates on 2025-02-19, then a long gap back to 2022-08-18 and 2022-08-17, suggesting a quiet or maintenance mode trajectory rather than regular releases.
AI summary generated
Recent updates
v1.0.2
v1.0.2 is labeled as a bug fix release. The documented change is that the package now exports TypeScript types via package.json, but the code diff shows additional publishing and packaging-related modifications.
v1.0.1
v1.0.1 is presented as a bug fix to make CommonJS usage work correctly. The implementation was reorganized by introducing a new CommonJS entry module (src/module-importer.cjs) and changing the ESM entry (src/module-importer.js) to re-export that implementation.
v1.0.0
This v1.0.0 release introduces the initial ModuleImporter functionality. It adds new capability to import modules via the humanwhocodes/module-importer package, but the release notes do not specify any API details, options, or behavior changes.
Features