nodejs / node

Node.js JavaScript runtime ✨🐢🚀✨

Home Page:https://nodejs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request from nodejs/help] ESM Caching

RedYetiDev opened this issue · comments

During its four years of existence, nodejs/help#2806 has gained significant attention. Therefore, I'm bringing it to this repository for potential review and implementation.

It revolves around the idea of an ESM cache, similar to the one in CommonJS.

Given the traction it has received, I believe it's worth discussing.

Duplicate of #45206

There's already an ESM cache, and it cannot be exposed. All use cases should be covered by the Hooks API – if not let's open an issue describing such use case.