import-without-cache
JSON →Import ES modules without cache. Current stable version is 0.4.0, released in 2025. This library intercepts Node.js module loading via hooks to bypass the ESM cache, ensuring fresh imports for every call. It also clears CommonJS cache with clearRequireCache(). Compared to alternatives like clear-module or decache, it supports ES modules natively and handles dependency chains without caching. Requires Node.js ^22.18.0 or >=24.0.0. Not supported on Deno; Yarn PnP requires Node >=24.
Resources
packageimport-without-cache ↗
API endpoints
full doc /v1/registry/import-without-cache