real-require is a small Node.js helper that provides drop-in functions (realRequire and realImport) to keep require and import behavior consistent after bundling or transpiling. It is useful when build tools change native require or await import calls, and its realRequire support currently targets webpack by using the __non_webpack__require__ implementation for the final bundle.
Project status
- Active maintenance: Yes, there is evidence of recent activity (upstream push and
v1.0.0on 2026-03-14). That is within about 5 months of today (2026-08-12), so it does not appear dormant. - Update cadence: Historically irregular, with a long gap between updates (2022-07-25 to 2026-03-14, about 3 years), followed by a more recent update in 2026.
AI summary generated
Recent updates
v1.0.0
Release v1.0.0 primarily modernizes the project tooling and CI, including dependency bumps and dropping support for older Node versions. The runtime library code changes are minimal, but the dev/test setup and supported Node versions in CI are updated in ways that are not fully called out in the release notes.
Breakingv0.2.0
v0.2.0 mostly updates CI and GitHub automation tooling, including newer GitHub Actions versions, adjusted Dependabot schedules, and an update to the Node test matrix. Release notes also claim Node 12 and 17 support was dropped in favor of Node 18. The code diff, however, shows additional workflow behavior changes and even removal of the LICENSE file that are not mentioned in the release notes.
BreakingSecurityv0.1.0
v0.1.0 is the initial release of real-require, introducing its core functionality and accompanying documentation. The release also includes a CI workflow dependency bump (actions/checkout).
Features