Back to Explore

nexdrew/which-module

GitHub
1 watchersOpen source

Last release: 4/21/2023

which-module is a Node.js utility that finds the corresponding `module` object in `require.cache` for something that was previously `require()`d or `import`ed, effectively acting as a reverse `require` lookup. It is useful when a library needs to look up metadata such as a module or submodule filename for dependencies it did not directly `require()` itself.

Project status

  • The repository appears only lightly maintained, with the most recent upstream push and published update occurring on 2023-04-21, and earlier updates dating to 2017-05-01 and 2016-06-06.
  • The apparent update cadence is very infrequent (multi-year gaps), suggesting maintenance mode rather than active feature development.

AI summary generated Today

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.0.1

    4/21/2023

    v2.0.1 has no release notes from the publisher. The code diff shows only repository and tooling updates: CI Node version matrix changes, documentation/changelog formatting tweaks, devDependency major version bumps, and a small change to test module syntax.

  • v2.0.0

    5/1/2017

    v2.0.0 primarily updates CI and development tooling (Node test matrix and devDependencies), plus adjusts the project changelog. The only test file changed is `test.js`, where two falsy-assertions were removed. No library/runtime source files are shown as changed in this diff.

  • v1.0.0

    6/6/2016

    Release v1.0.0 was published on 2016-06-06. No release notes or change log details were provided by the publisher, so the specific developer-impacting changes (features, bugs, breaking changes, security, or migration steps) cannot be determined from the supplied data.