execute = async (
  entrypointPath,
  { readPowers = defaultReadPowers, ...options } = {}
) => {
  const application = /** @type {ApplicationLoader<T>} */ (
    await load(entrypointPath, readPowers, options)
  )
  const { namespace } = await application.import()
  return namespace
}
Lower-level API for application execution

- Knows nothing about LavaMoat policy (bring your own attenuator!)
- Supports native modules, Node.js builtins
- Evasive transforms applied by default
- Consumer has full control over `importLocation` options

See `run()` for a higher-level API

@template [T=unknown] Exports of module, if known. Default is `unknown`
@param {string | URL} entrypointPath Entry point of application
@param {ExecuteOptions} [options] Options
@returns {Promise<T>} Exports of executed module
@public