Skip to main content

Module modules

Module modules 

Source
Expand description

In-memory ESM execution, separate from the legacy global-function hook API.

Functionsยง

synchronous
Reject asynchronous callbacks rather than serializing a Promise as {}.
with_module
Load and evaluate a package-local ESM graph in a fresh, bounded context. Host setup and callback invocation occur within the same owning context.